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.001629/0.001629, allocations: 88.16 kB / 21.44 MB, free: 276 kB / 14.72 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.00179/0.00179, allocations: 163.5 kB / 24.71 MB, free: 3.527 MB / 14.72 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.392/1.392, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 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 1.633e-06/1.633e-06, allocations: 0 / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.188e-05, allocations: 2.281 kB / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.01057/0.0106, allocations: 5.292 MB / 304.2 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.01509, allocations: 1.64 MB / 305.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007662/0.01586, allocations: 51.62 kB / 305.9 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008683/0.01672, allocations: 325.4 kB / 306.2 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.01823, allocations: 393.1 kB / 306.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008983/0.01913, allocations: 363.4 kB / 307 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003217/0.02234, allocations: 2.078 MB / 309.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003097/0.02544, allocations: 1.524 MB / 310.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.02831, allocations: 1.583 MB / 312.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.03082, allocations: 1.017 MB / 313.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006151/0.03143, allocations: 308 kB / 313.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.03254, allocations: 463.5 kB / 313.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009826/0.03352, allocations: 0.7479 MB / 314.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.03508, allocations: 0.8732 MB / 315.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006522/0.0416, allocations: 3.833 MB / 319.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.04161, allocations: 0 / 319.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.04161, allocations: 0 / 319.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001098/0.04172, allocations: 0 / 319.4 MB, free: 4.133 MB / 302.1 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.008726/0.05045, allocations: 2.427 MB / 321.8 MB, free: 1.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.0505, allocations: 11.98 kB / 321.8 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.05158, allocations: 247.4 kB / 322.1 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/0.05504, allocations: 1.125 MB / 323.2 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.05528, allocations: 172.9 kB / 323.4 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1269/0.1822, allocations: 216.2 kB / 323.6 MB, free: 32.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.1865, allocations: 2.616 MB / 326.2 MB, free: 31.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/0.1865, allocations: 1.281 kB / 326.2 MB, free: 31.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.1867, allocations: 90.16 kB / 326.3 MB, free: 31.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-05/0.1868, allocations: 56.88 kB / 326.3 MB, free: 31.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/0.19, allocations: 2.133 MB / 328.5 MB, free: 31.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009452/0.1994, allocations: 6.397 MB / 334.9 MB, free: 27.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009022/0.2003, allocations: 0.691 MB / 335.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009513/0.2013, allocations: 0.6017 MB / 336.2 MB, free: 27.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.2013, allocations: 7.062 kB / 336.2 MB, free: 27.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2014, allocations: 42.16 kB / 336.2 MB, free: 27.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 3.005e-06/0.2014, allocations: 3.938 kB / 336.2 MB, free: 27.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003567/0.2049, allocations: 2.387 MB / 338.6 MB, free: 26.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.205, allocations: 57.56 kB / 338.7 MB, free: 26.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.2058, allocations: 0.7821 MB / 339.4 MB, free: 25.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.2058, allocations: 37.64 kB / 339.5 MB, free: 25.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.2062, allocations: 0.9479 MB / 340.4 MB, free: 24.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.2063, allocations: 237.4 kB / 340.7 MB, free: 24.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.2065, allocations: 142.5 kB / 340.8 MB, free: 24.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.2066, allocations: 392.2 kB / 341.2 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.2071, allocations: 368.4 kB / 341.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.2076, allocations: 0.5755 MB / 342.1 MB, free: 23.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.2086, allocations: 0.9916 MB / 343.1 MB, free: 22.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2086, allocations: 1.625 kB / 343.1 MB, free: 22.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001484/0.2101, allocations: 1.154 MB / 344.3 MB, free: 21.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2101, allocations: 11.94 kB / 344.3 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.2101, allocations: 8 kB / 344.3 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.2104, allocations: 109.4 kB / 344.4 MB, free: 21.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.211, allocations: 171.7 kB / 344.6 MB, free: 21.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.2125, allocations: 2.183 MB / 346.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.213, allocations: 43.55 kB / 346.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.213, allocations: 36 kB / 346.8 MB, free: 19.33 MB / 302.1 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.0008398/0.2139, allocations: 0.6497 MB / 347.5 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.2141, allocations: 83.48 kB / 347.5 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.2142, allocations: 103.2 kB / 347.6 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/0.2143, allocations: 8 kB / 347.7 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.2143, allocations: 0 / 347.7 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2143, allocations: 3.984 kB / 347.7 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.2175, allocations: 2.231 MB / 349.9 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2175, allocations: 4 kB / 349.9 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.2179, allocations: 112 kB / 350 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/0.2181, allocations: 92.78 kB / 350.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.2182, allocations: 16 kB / 350.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.2196, allocations: 2.118 MB / 352.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2196, allocations: 7.984 kB / 352.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.2211, allocations: 1.426 MB / 353.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.2214, allocations: 151.5 kB / 353.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/0.2215, allocations: 16.38 kB / 353.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.2219, allocations: 39.95 kB / 353.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.222, allocations: 56.28 kB / 353.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.222, allocations: 16 kB / 353.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004877/0.2225, allocations: 0.5458 MB / 354.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2225, allocations: 0 / 354.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009155/0.2234, allocations: 304.1 kB / 354.8 MB, free: 11.18 MB / 302.1 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.0002128/0.2237, allocations: 134.8 kB / 354.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.2249, allocations: 0.974 MB / 355.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2249, allocations: 0 / 355.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.2255, allocations: 0.5379 MB / 356.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.2265, allocations: 209.3 kB / 356.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.2304, allocations: 3.222 MB / 359.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/0.2312, allocations: 1.144 MB / 361 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004328/0.2316, allocations: 202.8 kB / 361.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2318, allocations: 64.5 kB / 361.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2318, allocations: 0 / 361.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of Templates: time 0.02281/0.2546, allocations: 12.21 MB / 373.5 MB, free: 8.387 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480] 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.699080791324377]