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.001297/0.001297, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009527/0.0009527, allocations: 147.1 kB / 24.89 MB, free: 8.785 MB / 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 0.8714/0.8714, allocations: 173.4 MB / 201.5 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] 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.183e-06/1.183e-06, allocations: 0 / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/1.096e-05, allocations: 2.312 kB / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01107/0.01108, allocations: 15.3 MB / 283.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007093/0.01818, allocations: 4.322 MB / 288.1 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.01938, allocations: 163.2 kB / 288.3 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00694/0.02632, allocations: 7.964 MB / 296.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.02891, allocations: 1.533 MB / 297.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.03029, allocations: 1.111 MB / 298.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005594/0.03588, allocations: 8.58 MB / 307.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01447/0.05035, allocations: 14.72 MB / 322.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006866/0.05722, allocations: 7.443 MB / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/0.06148, allocations: 5.361 MB / 335 MB, free: 6.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.06287, allocations: 1.379 MB / 336.4 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.06445, allocations: 1.632 MB / 338 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.06581, allocations: 2.681 MB / 340.7 MB, free: 1.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1173/0.1832, allocations: 3.521 MB / 344.2 MB, free: 38.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007266/0.1904, allocations: 8.838 MB / 353 MB, free: 38.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1904, allocations: 2.031 kB / 353 MB, free: 38.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1904, allocations: 3.344 kB / 353 MB, free: 38.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002712/0.1907, allocations: 0 / 353 MB, free: 38.04 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.0112/0.2019, allocations: 10.35 MB / 363.4 MB, free: 34.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.2019, allocations: 7.375 kB / 363.4 MB, free: 34.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008235/0.2102, allocations: 3.771 MB / 367.2 MB, free: 33.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.2136, allocations: 2.632 MB / 369.8 MB, free: 32.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.2138, allocations: 0.6862 MB / 370.5 MB, free: 32.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008129/0.2146, allocations: 0.8861 MB / 371.4 MB, free: 32.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005929/0.2205, allocations: 6.08 MB / 377.4 MB, free: 28.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.2206, allocations: 7.953 kB / 377.5 MB, free: 28.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005716/0.2212, allocations: 381.5 kB / 377.8 MB, free: 28.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.2214, allocations: 395.1 kB / 378.2 MB, free: 27.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.2246, allocations: 2.349 MB / 380.6 MB, free: 25.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02859/0.2532, allocations: 26.9 MB / 407.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.2579, allocations: 2.418 MB / 409.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009205/0.2588, allocations: 0.4884 MB / 410.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.259, allocations: 61.97 kB / 410.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.2591, allocations: 56.56 kB / 410.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=223): time 4.438e-06/0.2591, allocations: 8 kB / 410.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=223): time 0.003317/0.2624, allocations: 1.719 MB / 412.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.2624, allocations: 77.41 kB / 412.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.2646, allocations: 1.962 MB / 414.2 MB, free: 8.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.2647, allocations: 61.7 kB / 414.3 MB, free: 8.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.2661, allocations: 3.76 MB / 418.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/0.2665, allocations: 0.8237 MB / 418.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008022/0.2673, allocations: 0.8718 MB / 419.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.2674, allocations: 307.9 kB / 420.1 MB, free: 3.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007418/0.2682, allocations: 0.6441 MB / 420.7 MB, free: 2.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.2697, allocations: 2.609 MB / 423.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.2723, allocations: 3.65 MB / 427 MB, free: 10.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.423e-05/0.2723, allocations: 24 kB / 427 MB, free: 10.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003127/0.2755, allocations: 2.976 MB / 430 MB, free: 8.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.2755, allocations: 38.03 kB / 430 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.61e-05/0.2755, allocations: 76 kB / 430.1 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.2761, allocations: 349.5 kB / 430.4 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.2778, allocations: 0.9749 MB / 431.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.28, allocations: 2.511 MB / 433.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.2814, allocations: 0.5351 MB / 434.4 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.2816, allocations: 208 kB / 434.6 MB, free: 3.816 MB / 346.7 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.001325/0.2829, allocations: 444.1 kB / 435.1 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.2832, allocations: 235.7 kB / 435.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.2849, allocations: 1.563 MB / 436.9 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008912/0.2858, allocations: 0.8279 MB / 437.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2858, allocations: 0 / 437.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.2858, allocations: 15.95 kB / 437.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.292, allocations: 5.553 MB / 443.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.292, allocations: 4 kB / 443.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/0.2927, allocations: 338.1 kB / 443.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004915/0.2932, allocations: 255.9 kB / 443.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.762e-05/0.2933, allocations: 43.98 kB / 443.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.295, allocations: 2.346 MB / 446.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.295, allocations: 4 kB / 446.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.2971, allocations: 1.723 MB / 448 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.2976, allocations: 345.6 kB / 448.3 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.2977, allocations: 40 kB / 448.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.2982, allocations: 56 kB / 448.4 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.2983, allocations: 157.6 kB / 448.6 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.2984, allocations: 40 kB / 448.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006871/0.2991, allocations: 0.8357 MB / 449.4 MB, free: 6.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2991, allocations: 0 / 449.4 MB, free: 6.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003212/0.3023, allocations: 1.992 MB / 451.4 MB, free: 4.102 MB / 362.7 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.0003163/0.3026, allocations: 205.8 kB / 451.6 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.3048, allocations: 2.199 MB / 453.8 MB, free: 1.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-05/0.3049, allocations: 55.94 kB / 453.9 MB, free: 1.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007525/0.3056, allocations: 0.8595 MB / 454.7 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.3071, allocations: 0.6707 MB / 455.4 MB, free: 476 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.3194, allocations: 11.42 MB / 466.8 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.3208, allocations: 1.583 MB / 468.4 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001039/0.3219, allocations: 488.2 kB / 468.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.3229, allocations: 0.6319 MB / 469.5 MB, free: 2.242 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3229, allocations: 0 / 469.5 MB, free: 2.242 MB / 378.7 MB Notification: Performance of Templates: time 0.1644/0.4873, allocations: 42.17 MB / 0.4997 GB, free: 110.8 MB / 394.7 MB " [Timeout remaining time 660] 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","",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.6941064139828086]