Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002678/0.002678, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002481/0.002481, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 173.3 MB / 200.8 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.65e-05, allocations: 5.828 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02256/0.02259, allocations: 15.76 MB / 283.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.03295, allocations: 4.068 MB / 287.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.03594, allocations: 159.2 kB / 287.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1326/0.1685, allocations: 7.94 MB / 295.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.1735, allocations: 1.519 MB / 296.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.1761, allocations: 1.106 MB / 297.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007411/0.1835, allocations: 8.58 MB / 306.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01729/0.2008, allocations: 14.26 MB / 320.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01268/0.2135, allocations: 7.392 MB / 328.1 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.2242, allocations: 5.207 MB / 333.3 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00349/0.2277, allocations: 1.387 MB / 334.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005381/0.233, allocations: 1.646 MB / 336.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003385/0.2364, allocations: 2.673 MB / 339 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007529/0.244, allocations: 3.53 MB / 342.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02407/0.268, allocations: 18.63 MB / 361.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.268, allocations: 7.984 kB / 361.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.268, allocations: 0 / 361.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003826/0.2684, allocations: 2.719 kB / 361.2 MB, free: 10.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03355/0.302, allocations: 12.21 MB / 373.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.302, allocations: 12.03 kB / 373.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02183/0.3238, allocations: 4.915 MB / 378.3 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.3371, allocations: 5.058 MB / 383.4 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007833/0.3379, allocations: 0.6824 MB / 384.1 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003195/0.3411, allocations: 0.8909 MB / 385 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/0.3701, allocations: 11.67 MB / 396.6 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002314/0.3703, allocations: 7.938 kB / 396.6 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/0.3715, allocations: 378.1 kB / 397 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000445/0.372, allocations: 397.1 kB / 397.4 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/0.3954, allocations: 10.22 MB / 407.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3279/0.7232, allocations: 55.46 MB / 463.1 MB, free: 90.21 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007207/0.7304, allocations: 3.94 MB / 467 MB, free: 89.06 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.7321, allocations: 1.369 MB / 468.4 MB, free: 88.61 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.7323, allocations: 64.66 kB / 468.4 MB, free: 88.6 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.7323, allocations: 62.64 kB / 468.5 MB, free: 88.54 MB / 378.8 MB Notification: Performance of pre-optimization done (n=223): time 7.705e-06/0.7323, allocations: 0 / 468.5 MB, free: 88.54 MB / 378.8 MB Notification: Performance of matching and sorting (n=223): time 0.007118/0.7395, allocations: 4.117 MB / 472.6 MB, free: 86.68 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.7395, allocations: 77.28 kB / 472.7 MB, free: 86.62 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/0.7446, allocations: 4.538 MB / 477.2 MB, free: 84.17 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002617/0.7449, allocations: 61.2 kB / 477.3 MB, free: 84.11 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/0.7471, allocations: 4.404 MB / 481.7 MB, free: 81.08 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00072/0.7478, allocations: 0.8941 MB / 482.6 MB, free: 80.4 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.7493, allocations: 1.273 MB / 483.9 MB, free: 79.65 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.7493, allocations: 480.7 kB / 484.3 MB, free: 79.18 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.7514, allocations: 1.693 MB / 486 MB, free: 78.28 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/0.7545, allocations: 5.154 MB / 491.2 MB, free: 72.93 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005568/0.7601, allocations: 7.412 MB / 498.6 MB, free: 64.68 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-05/0.7601, allocations: 27.98 kB / 498.6 MB, free: 64.65 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007956/0.7681, allocations: 6.198 MB / 0.493 GB, free: 58.44 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.7681, allocations: 44.16 kB / 0.493 GB, free: 58.4 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.99e-05/0.7682, allocations: 76 kB / 0.4931 GB, free: 58.32 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.7694, allocations: 492 kB / 0.4936 GB, free: 57.84 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.7724, allocations: 1.061 MB / 0.4946 GB, free: 56.78 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/0.7764, allocations: 4.812 MB / 0.4993 GB, free: 51.85 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/0.7796, allocations: 0.6364 MB / 0.4999 GB, free: 51.21 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004503/0.78, allocations: 244 kB / 0.5002 GB, free: 50.97 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003774/0.7838, allocations: 3.188 MB / 0.5033 GB, free: 47.77 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006287/0.7844, allocations: 362.2 kB / 0.5036 GB, free: 47.41 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/0.7889, allocations: 3.214 MB / 0.5068 GB, free: 44.17 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00294/0.7918, allocations: 2.443 MB / 0.5091 GB, free: 41.71 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.7918, allocations: 4 kB / 0.5091 GB, free: 41.71 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.887e-05/0.7918, allocations: 11.95 kB / 0.5092 GB, free: 41.7 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/0.8089, allocations: 11.21 MB / 0.5201 GB, free: 30.47 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.8089, allocations: 4 kB / 0.5201 GB, free: 30.46 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.8104, allocations: 411.4 kB / 0.5205 GB, free: 30.06 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.8114, allocations: 399.8 kB / 0.5209 GB, free: 29.67 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.8116, allocations: 55.92 kB / 0.5209 GB, free: 29.61 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.8154, allocations: 4.624 MB / 0.5255 GB, free: 24.88 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8154, allocations: 8 kB / 0.5255 GB, free: 24.87 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005313/0.8207, allocations: 4.53 MB / 0.5299 GB, free: 20.3 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.822, allocations: 0.5052 MB / 0.5304 GB, free: 19.79 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.8223, allocations: 40 kB / 0.5304 GB, free: 19.75 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.8235, allocations: 135.9 kB / 0.5305 GB, free: 19.62 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.8237, allocations: 157.6 kB / 0.5307 GB, free: 19.46 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.8238, allocations: 67.98 kB / 0.5308 GB, free: 19.39 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002464/0.8263, allocations: 2.236 MB / 0.5329 GB, free: 17.15 MB / 378.8 MB Notification: Performance of sort global known variables: time 1e-07/0.8263, allocations: 3.938 kB / 0.5329 GB, free: 17.14 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004466/0.8308, allocations: 1.988 MB / 0.5349 GB, free: 15.15 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004027/0.8312, allocations: 223 kB / 0.5351 GB, free: 14.93 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005757/0.8369, allocations: 4.594 MB / 0.5396 GB, free: 10.31 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8369, allocations: 4 kB / 0.5396 GB, free: 10.31 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.8388, allocations: 1.632 MB / 0.5412 GB, free: 8.656 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.8417, allocations: 0.6769 MB / 0.5418 GB, free: 8.02 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/0.8611, allocations: 12.69 MB / 0.5542 GB, free: 11.22 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006791/0.8679, allocations: 4.629 MB / 0.5588 GB, free: 6.543 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003924/0.8718, allocations: 1.451 MB / 0.5602 GB, free: 5.086 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006911/0.8725, allocations: 228.5 kB / 0.5604 GB, free: 4.863 MB / 394.8 MB Notification: Performance of SimCode: time 1.213e-06/0.8725, allocations: 0 / 0.5604 GB, free: 4.863 MB / 394.8 MB Notification: Performance of Templates: time 0.1957/1.068, allocations: 38.19 MB / 0.5977 GB, free: 114 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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: 6.633330087992363]