Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 88.34 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 163.9 kB / 25.61 MB, free: 8.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9613/0.9613, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.379e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007916/0.00794, allocations: 8.868 MB / 283 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00525/0.01319, allocations: 3.094 MB / 286.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.01422, allocations: 55.62 kB / 286.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.01579, allocations: 0.6598 MB / 286.8 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.0176, allocations: 0.7878 MB / 287.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.01825, allocations: 319.4 kB / 287.9 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.02032, allocations: 2.217 MB / 290.1 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009378/0.02125, allocations: 0.809 MB / 290.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.02302, allocations: 1.532 MB / 292.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.02439, allocations: 1.005 MB / 293.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.0247, allocations: 224 kB / 293.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.02513, allocations: 323.8 kB / 294 MB, free: 292 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.02555, allocations: 0.6855 MB / 294.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007125/0.02626, allocations: 0.7366 MB / 295.4 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.02775, allocations: 1.694 MB / 297.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.02775, allocations: 3.938 kB / 297.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02775, allocations: 0 / 297.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.104e-05/0.0278, allocations: 0 / 297.1 MB, free: 13.15 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.002578/0.03038, allocations: 2.332 MB / 299.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.03042, allocations: 8.031 kB / 299.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005581/0.03097, allocations: 379.4 kB / 299.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.03233, allocations: 1.101 MB / 300.9 MB, free: 9.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.03239, allocations: 119.5 kB / 301 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.03254, allocations: 160.3 kB / 301.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.03379, allocations: 1.196 MB / 302.4 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.03382, allocations: 4 kB / 302.4 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.03391, allocations: 63.98 kB / 302.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/0.03397, allocations: 82.92 kB / 302.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006337/0.0346, allocations: 479.9 kB / 303 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005409/0.04001, allocations: 6.179 MB / 309.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.04038, allocations: 241.7 kB / 309.4 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.04049, allocations: 101.6 kB / 309.5 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.0406, allocations: 36.42 kB / 309.6 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.04063, allocations: 45.83 kB / 309.6 MB, free: 112 kB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.04063, allocations: 0 / 309.6 MB, free: 112 kB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.002203/0.04283, allocations: 1.39 MB / 311 MB, free: 14.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.04286, allocations: 56.06 kB / 311.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.04387, allocations: 1.398 MB / 312.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.0439, allocations: 33.7 kB / 312.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.04445, allocations: 1.175 MB / 313.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.04459, allocations: 242.1 kB / 313.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.04487, allocations: 344.8 kB / 314.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.04497, allocations: 488.6 kB / 314.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.0454, allocations: 139.9 kB / 314.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.04612, allocations: 1.51 MB / 316.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.04722, allocations: 1.845 MB / 318.2 MB, free: 6.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.04723, allocations: 12 kB / 318.2 MB, free: 6.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001442/0.04867, allocations: 1.395 MB / 319.6 MB, free: 4.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.0487, allocations: 22.53 kB / 319.6 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/0.04873, allocations: 39.98 kB / 319.7 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.04897, allocations: 119 kB / 319.8 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.04959, allocations: 379.3 kB / 320.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009487/0.05054, allocations: 1.815 MB / 322 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/0.05118, allocations: 111.7 kB / 322.1 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/0.05125, allocations: 80 kB / 322.2 MB, free: 2.051 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.05157, allocations: 287.7 kB / 322.4 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.05174, allocations: 171 kB / 322.6 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006837/0.05242, allocations: 0.5378 MB / 323.1 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.05243, allocations: 8 kB / 323.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.05243, allocations: 0 / 323.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.05244, allocations: 3.984 kB / 323.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.05426, allocations: 1.677 MB / 324.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.05427, allocations: 4 kB / 324.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.05451, allocations: 107.8 kB / 324.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.05468, allocations: 79.14 kB / 325 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.05471, allocations: 12 kB / 325 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007317/0.05544, allocations: 1.741 MB / 326.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.05544, allocations: 4 kB / 326.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.05628, allocations: 0.8455 MB / 327.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004921/0.05677, allocations: 191 kB / 327.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/0.05686, allocations: 12 kB / 327.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.05715, allocations: 31.97 kB / 327.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.05723, allocations: 52.34 kB / 327.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.05726, allocations: 19.98 kB / 327.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005362/0.0578, allocations: 0.6887 MB / 328.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0578, allocations: 4.031 kB / 328.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008974/0.05869, allocations: 355.9 kB / 329 MB, free: 10.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/0.05891, allocations: 163 kB / 329.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009392/0.05985, allocations: 0.9028 MB / 330 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.05985, allocations: 0 / 330 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.06018, allocations: 405.2 kB / 330.4 MB, free: 9.422 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.06107, allocations: 368.3 kB / 330.8 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.0645, allocations: 2.581 MB / 333.4 MB, free: 6.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.0649, allocations: 398.4 kB / 333.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006662/0.06557, allocations: 205.2 kB / 333.9 MB, free: 5.809 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006767/0.06625, allocations: 418 kB / 334.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.06625, allocations: 0 / 334.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of Templates: time 0.02689/0.09314, allocations: 19.64 MB / 354 MB, free: 2.066 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2661430882290006]