Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.269/2.269, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 177] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 43.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3929, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01798/0.4109, allocations: 10.12 MB / 442.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.4281, allocations: 3.714 MB / 446.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.4304, allocations: 79.5 kB / 446.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.4337, allocations: 0.8155 MB / 447.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004239/0.4379, allocations: 0.9979 MB / 448.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.4398, allocations: 0.5265 MB / 448.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005502/0.4453, allocations: 3.234 MB / 451.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003487/0.4488, allocations: 1.477 MB / 453.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.4516, allocations: 1.48 MB / 454.8 MB, free: 108 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/0.4556, allocations: 1.86 MB / 456.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008774/0.4565, allocations: 392 kB / 457 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.4583, allocations: 0.6167 MB / 457.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001448/0.4598, allocations: 1.083 MB / 458.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.4623, allocations: 1.404 MB / 460.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007746/0.47, allocations: 5.091 MB / 465.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4701, allocations: 0 / 465.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4701, allocations: 0 / 465.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001471/0.4702, allocations: 0 / 465.2 MB, free: 5.633 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.009769/0.48, allocations: 3.503 MB / 468.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.48, allocations: 12.03 kB / 468.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.4821, allocations: 462.6 kB / 469.2 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/0.4868, allocations: 1.791 MB / 471 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.487, allocations: 197.2 kB / 471.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005357/0.4875, allocations: 251.9 kB / 471.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007428/0.495, allocations: 3.373 MB / 474.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.701e-05/0.495, allocations: 4 kB / 474.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000311/0.4953, allocations: 100 kB / 474.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.4955, allocations: 116.9 kB / 475 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006285/0.5018, allocations: 2.705 MB / 477.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02065/0.5225, allocations: 8.911 MB / 486.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.5252, allocations: 1.241 MB / 487.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/0.5276, allocations: 0.9756 MB / 488.8 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.5278, allocations: 60.95 kB / 488.9 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.5279, allocations: 47.56 kB / 488.9 MB, free: 13.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 4.268e-06/0.5279, allocations: 0 / 488.9 MB, free: 13.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.04325/0.5712, allocations: 7.067 MB / 496 MB, free: 6.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.5712, allocations: 64.72 kB / 496.1 MB, free: 6.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006886/0.5781, allocations: 1.712 MB / 497.8 MB, free: 4.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.5783, allocations: 45.7 kB / 497.8 MB, free: 4.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.5796, allocations: 1.29 MB / 499.1 MB, free: 3.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006085/0.5802, allocations: 495.8 kB / 499.6 MB, free: 2.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006643/0.5808, allocations: 303.4 kB / 499.9 MB, free: 2.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.581, allocations: 305.1 kB / 0.4885 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.5829, allocations: 0.812 MB / 0.4893 GB, free: 1.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.5854, allocations: 1.304 MB / 0.4905 GB, free: 15.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/0.5899, allocations: 2.254 MB / 0.4927 GB, free: 13.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.5899, allocations: 4 kB / 0.4928 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006497/0.5964, allocations: 2.709 MB / 0.4954 GB, free: 10.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.5964, allocations: 12.28 kB / 0.4954 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.5965, allocations: 20 kB / 0.4954 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.5978, allocations: 424.9 kB / 0.4958 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/0.5999, allocations: 395.3 kB / 0.4962 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008025/0.608, allocations: 5.495 MB / 0.5016 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.6102, allocations: 119.8 kB / 0.5017 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.6104, allocations: 75.98 kB / 0.5018 GB, free: 3.762 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001681/0.6121, allocations: 0.7955 MB / 0.5025 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005449/0.6126, allocations: 190.8 kB / 0.5027 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/0.6179, allocations: 2.299 MB / 0.505 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-05/0.618, allocations: 19.94 kB / 0.505 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.618, allocations: 4 kB / 0.505 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.618, allocations: 7.969 kB / 0.505 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.6292, allocations: 4.531 MB / 0.5094 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.6292, allocations: 4 kB / 0.5094 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.6306, allocations: 251.6 kB / 0.5097 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.6322, allocations: 458.5 kB / 0.5101 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.6324, allocations: 47.92 kB / 0.5101 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009929/0.6423, allocations: 6.906 MB / 0.5169 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.6423, allocations: 4 kB / 0.5169 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008431/0.6507, allocations: 3.479 MB / 0.5203 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/0.6522, allocations: 358.7 kB / 0.5206 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.6526, allocations: 43.92 kB / 0.5207 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.654, allocations: 95.89 kB / 0.5208 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/0.6544, allocations: 116.7 kB / 0.5209 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.6545, allocations: 43.98 kB / 0.5209 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002359/0.6569, allocations: 1.161 MB / 0.5221 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6569, allocations: 0 / 0.5221 GB, free: 14.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002485/0.6593, allocations: 0.5468 MB / 0.5226 GB, free: 13.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005478/0.6599, allocations: 214.9 kB / 0.5228 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005667/0.6656, allocations: 2.269 MB / 0.525 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6656, allocations: 0 / 0.525 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003286/0.6689, allocations: 1.456 MB / 0.5264 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.6716, allocations: 375.7 kB / 0.5268 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.6836, allocations: 5.188 MB / 0.5319 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/0.6859, allocations: 1.447 MB / 0.5333 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001861/0.6878, allocations: 418.2 kB / 0.5337 GB, free: 2.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005328/0.6883, allocations: 123.4 kB / 0.5338 GB, free: 2.223 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6883, allocations: 0 / 0.5338 GB, free: 2.223 MB / 446.1 MB Notification: Performance of Templates: time 0.374/1.062, allocations: 30.17 MB / 0.5632 GB, free: 82.75 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.390192524995655]