Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.002297/0.002297, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 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.001846/0.001846, allocations: 161.3 kB / 25.03 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.872e-06/6.872e-06, allocations: 4 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.761e-05/4.448e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.01053/0.01057, allocations: 5.721 MB / 256.1 MB, free: 2.082 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004896/0.01547, allocations: 1.671 MB / 257.8 MB, free: 408 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.01718, allocations: 51.69 kB / 257.8 MB, free: 356 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.01848, allocations: 317.4 kB / 258.1 MB, free: 36 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.0206, allocations: 393.2 kB / 258.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.02193, allocations: 367.4 kB / 258.9 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003794/0.02572, allocations: 2.082 MB / 260.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003369/0.02909, allocations: 1.532 MB / 262.5 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.03207, allocations: 1.603 MB / 264.1 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.03436, allocations: 1.161 MB / 265.2 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.0349, allocations: 308 kB / 265.5 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.03593, allocations: 455.6 kB / 266 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009057/0.03684, allocations: 0.7675 MB / 266.7 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.03834, allocations: 0.881 MB / 267.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.04315, allocations: 3.868 MB / 271.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.04316, allocations: 0 / 271.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.04316, allocations: 0 / 271.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.017e-05/0.04324, allocations: 0 / 271.5 MB, free: 2.551 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005698/0.04894, allocations: 2.803 MB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.04899, allocations: 15.98 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.05019, allocations: 439.4 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.0525, allocations: 1.045 MB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.05267, allocations: 172.8 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.05303, allocations: 224.3 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004718/0.05775, allocations: 2.367 MB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/0.0578, allocations: 3.938 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.05801, allocations: 92 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.367e-05/0.05809, allocations: 56 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003825/0.06192, allocations: 1.868 MB / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.07716, allocations: 7.866 MB / 288.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.07837, allocations: 0.5909 MB / 289 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.07949, allocations: 0.5158 MB / 289.5 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/0.07954, allocations: 12.5 kB / 289.5 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.07959, allocations: 41.89 kB / 289.6 MB, free: 44 kB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.114e-06/0.07959, allocations: 0 / 289.6 MB, free: 44 kB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.004377/0.08397, allocations: 2.074 MB / 291.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.08404, allocations: 64 kB / 291.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.08543, allocations: 0.9523 MB / 292.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.08548, allocations: 37.7 kB / 292.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009835/0.08647, allocations: 1.044 MB / 293.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.08675, allocations: 258 kB / 294 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.0871, allocations: 184.2 kB / 294.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004651/0.08756, allocations: 0.6289 MB / 294.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.08813, allocations: 293.7 kB / 295.1 MB, free: 10.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/0.08902, allocations: 0.6218 MB / 295.7 MB, free: 9.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.09059, allocations: 0.9635 MB / 296.7 MB, free: 8.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.09059, allocations: 8 kB / 296.7 MB, free: 8.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002025/0.09262, allocations: 1.027 MB / 297.7 MB, free: 7.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.09264, allocations: 8 kB / 297.7 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.09267, allocations: 12.53 kB / 297.7 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.09307, allocations: 115.5 kB / 297.9 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.0938, allocations: 171.7 kB / 298 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/0.09698, allocations: 2.688 MB / 300.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006106/0.09759, allocations: 43.91 kB / 300.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.09766, allocations: 32 kB / 300.8 MB, free: 4.332 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001387/0.09905, allocations: 0.6133 MB / 301.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.09935, allocations: 107.5 kB / 301.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.09959, allocations: 95.34 kB / 301.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/0.09963, allocations: 11.98 kB / 301.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/0.09965, allocations: 0 / 301.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.09966, allocations: 3.938 kB / 301.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005538/0.1052, allocations: 2.667 MB / 304.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1052, allocations: 0 / 304.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.1057, allocations: 107.8 kB / 304.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000294/0.106, allocations: 87.77 kB / 304.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.106, allocations: 16 kB / 304.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.1088, allocations: 2.567 MB / 307.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1088, allocations: 0 / 307.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.111, allocations: 1.179 MB / 308.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.1114, allocations: 147.5 kB / 308.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.1115, allocations: 12 kB / 308.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.112, allocations: 39.95 kB / 308.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.1121, allocations: 56.34 kB / 308.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/0.1122, allocations: 20 kB / 308.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009447/0.1131, allocations: 0.577 MB / 309.1 MB, free: 11.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1131, allocations: 0 / 309.1 MB, free: 11.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001392/0.1145, allocations: 303.9 kB / 309.4 MB, free: 11.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004237/0.1149, allocations: 143 kB / 309.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.117, allocations: 0.9373 MB / 310.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.117, allocations: 0 / 310.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009843/0.118, allocations: 0.5403 MB / 311 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.1191, allocations: 227.6 kB / 311.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.1251, allocations: 3.052 MB / 314.3 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/0.1266, allocations: 1.043 MB / 315.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000593/0.1272, allocations: 162.9 kB / 315.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.1274, allocations: 64.48 kB / 315.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of SimCode: time 1.834e-06/0.1274, allocations: 0 / 315.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of Templates: time 0.02784/0.1552, allocations: 12.24 MB / 327.8 MB, free: 8.949 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.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: 4.915131234913133]