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.0009556/0.0009556, allocations: 85.95 kB / 22.21 MB, free: 2.293 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.0009659/0.0009659, allocations: 162.5 kB / 25.6 MB, free: 8.934 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 0.9372/0.9372, allocations: 158.6 MB / 187.5 MB, free: 2.824 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.48e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.00618/0.006195, allocations: 5.651 MB / 257.1 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.008886, allocations: 1.663 MB / 258.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/0.009309, allocations: 55.62 kB / 258.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.009832, allocations: 317.5 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009009/0.01073, allocations: 393.1 kB / 259.5 MB, free: 15.15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.01129, allocations: 367.3 kB / 259.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.01301, allocations: 2.082 MB / 262 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.01464, allocations: 1.528 MB / 263.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.0162, allocations: 1.607 MB / 265.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.01756, allocations: 1.169 MB / 266.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003507/0.01791, allocations: 311.9 kB / 266.6 MB, free: 8.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/0.01853, allocations: 455.6 kB / 267 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005186/0.01905, allocations: 0.7636 MB / 267.8 MB, free: 6.809 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007974/0.01985, allocations: 0.881 MB / 268.7 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.02173, allocations: 2.083 MB / 270.7 MB, free: 3.836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.02173, allocations: 0 / 270.7 MB, free: 3.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.02173, allocations: 3.984 kB / 270.7 MB, free: 3.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.868e-05/0.02176, allocations: 0 / 270.7 MB, free: 3.832 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.003014/0.02477, allocations: 2.569 MB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.02481, allocations: 15.97 kB / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006415/0.02545, allocations: 439.4 kB / 273.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.02661, allocations: 0.9318 MB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.02673, allocations: 168.9 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.02699, allocations: 224.4 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.02868, allocations: 1.209 MB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.02871, allocations: 3.938 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.02886, allocations: 91.98 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/0.02892, allocations: 56 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009739/0.02989, allocations: 0.5226 MB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006872/0.03677, allocations: 5.691 MB / 282.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.03724, allocations: 393.2 kB / 283 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.0377, allocations: 316.2 kB / 283.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.03774, allocations: 12.48 kB / 283.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.03776, allocations: 41.89 kB / 283.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.295e-06/0.03777, allocations: 0 / 283.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001715/0.03948, allocations: 1.143 MB / 284.5 MB, free: 5.602 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.03951, allocations: 64.06 kB / 284.6 MB, free: 5.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/0.04011, allocations: 0.6824 MB / 285.3 MB, free: 4.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.04014, allocations: 37.69 kB / 285.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00052/0.04066, allocations: 1.013 MB / 286.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.04081, allocations: 249.9 kB / 286.6 MB, free: 3.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.041, allocations: 156.2 kB / 286.7 MB, free: 3.348 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.04123, allocations: 0.5897 MB / 287.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.04137, allocations: 85.92 kB / 287.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.0417, allocations: 420.7 kB / 287.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.04227, allocations: 0.5614 MB / 288.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.04227, allocations: 0 / 288.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008626/0.04313, allocations: 0.6247 MB / 289 MB, free: 0.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.04315, allocations: 8 kB / 289 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.04317, allocations: 8 kB / 289 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.04338, allocations: 72.41 kB / 289.1 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.04381, allocations: 155.7 kB / 289.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.04532, allocations: 2.302 MB / 291.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.0456, allocations: 24 kB / 291.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.04564, allocations: 28 kB / 291.6 MB, free: 14.09 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.0002756/0.04592, allocations: 204.4 kB / 291.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.04606, allocations: 103.5 kB / 291.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.04618, allocations: 91.31 kB / 292 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.0462, allocations: 12.03 kB / 292 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.0462, allocations: 0 / 292 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.04621, allocations: 3.984 kB / 292 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.04871, allocations: 1.884 MB / 293.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.04871, allocations: 3.938 kB / 293.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.04899, allocations: 95.89 kB / 294 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.04916, allocations: 71.67 kB / 294 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.04919, allocations: 19.98 kB / 294.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.05048, allocations: 2.255 MB / 296.3 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.05049, allocations: 8.031 kB / 296.3 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.05132, allocations: 0.7452 MB / 297.1 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.0515, allocations: 119.4 kB / 297.2 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.05156, allocations: 19.92 kB / 297.2 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.05179, allocations: 27.98 kB / 297.2 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.05187, allocations: 48.45 kB / 297.3 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.05191, allocations: 15.98 kB / 297.3 MB, free: 8.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002883/0.05219, allocations: 402.8 kB / 297.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05219, allocations: 0 / 297.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005377/0.05273, allocations: 303.9 kB / 298 MB, free: 7.438 MB / 282.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.0001981/0.05293, allocations: 139 kB / 298.1 MB, free: 7.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008393/0.05377, allocations: 0.5964 MB / 298.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.05377, allocations: 1.562 kB / 298.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.05428, allocations: 417.6 kB / 299.1 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.05513, allocations: 222.7 kB / 299.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.05876, allocations: 2.873 MB / 302.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.05912, allocations: 0.5201 MB / 302.7 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.05933, allocations: 103 kB / 302.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.05969, allocations: 278 kB / 303.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.05969, allocations: 0 / 303.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of Templates: time 0.01862/0.07831, allocations: 13.21 MB / 316.3 MB, free: 5 MB / 298.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.901925167068839]