Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.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.0009663/0.0009663, allocations: 80.62 kB / 22.21 MB, free: 2.289 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.0008839/0.0008839, allocations: 145.1 kB / 25.6 MB, free: 8.602 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.9697/0.9697, allocations: 173.4 MB / 202.3 MB, free: 8.297 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 269.2 MB, free: 9.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.605e-05, allocations: 4.344 kB / 269.2 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005903/0.005919, allocations: 5.677 MB / 274.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.008874, allocations: 1.635 MB / 276.5 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.009497, allocations: 55.69 kB / 276.6 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.009989, allocations: 326 kB / 276.9 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009784/0.01097, allocations: 396.2 kB / 277.3 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.01152, allocations: 360.2 kB / 277.6 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.01291, allocations: 2.078 MB / 279.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.0143, allocations: 1.553 MB / 281.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.01586, allocations: 1.618 MB / 282.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.01688, allocations: 1.162 MB / 284 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.01712, allocations: 308 kB / 284.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.01761, allocations: 463.5 kB / 284.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.01805, allocations: 0.7635 MB / 285.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005846/0.01863, allocations: 0.881 MB / 286.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.02013, allocations: 2.095 MB / 288.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02013, allocations: 0 / 288.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.02013, allocations: 0 / 288.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.02015, allocations: 0 / 288.5 MB, free: 6.379 MB / 266.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.002832/0.02298, allocations: 2.577 MB / 291.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.02303, allocations: 12.03 kB / 291.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/0.02357, allocations: 439.4 kB / 291.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.02462, allocations: 1.08 MB / 292.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.833e-05/0.02472, allocations: 164.9 kB / 292.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.02493, allocations: 220.4 kB / 293 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.02631, allocations: 1.201 MB / 294.2 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.02635, allocations: 7.938 kB / 294.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.02648, allocations: 92 kB / 294.3 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/0.02653, allocations: 56 kB / 294.4 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007635/0.02729, allocations: 0.5265 MB / 294.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005866/0.03316, allocations: 5.68 MB / 300.6 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.03357, allocations: 419.8 kB / 301 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.03397, allocations: 316.3 kB / 301.3 MB, free: 9.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.034, allocations: 8.5 kB / 301.3 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.03403, allocations: 45.88 kB / 301.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 2.605e-06/0.03403, allocations: 0 / 301.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=65): time 0.001573/0.03561, allocations: 1.131 MB / 302.5 MB, free: 8.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.03564, allocations: 60.06 kB / 302.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.03616, allocations: 0.6902 MB / 303.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.03619, allocations: 37.7 kB / 303.3 MB, free: 7.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008703/0.03706, allocations: 1.013 MB / 304.3 MB, free: 6.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.03719, allocations: 241.9 kB / 304.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.03734, allocations: 160.2 kB / 304.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.03753, allocations: 0.5858 MB / 305.2 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.03765, allocations: 85.92 kB / 305.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.03794, allocations: 420.7 kB / 305.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.03842, allocations: 0.5693 MB / 306.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.03842, allocations: 0 / 306.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007316/0.03916, allocations: 0.6215 MB / 306.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.03918, allocations: 8 kB / 306.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.03919, allocations: 12.09 kB / 307 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.03939, allocations: 63.59 kB / 307 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.03974, allocations: 159.7 kB / 307.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.04105, allocations: 2.286 MB / 309.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.04125, allocations: 27.98 kB / 309.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.04129, allocations: 24 kB / 309.5 MB, free: 0.5078 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.0002451/0.04153, allocations: 208.3 kB / 309.7 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.04165, allocations: 107.4 kB / 309.8 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.04176, allocations: 95.34 kB / 309.9 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.04178, allocations: 8 kB / 309.9 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.04178, allocations: 0 / 309.9 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.04179, allocations: 3.984 kB / 309.9 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.04426, allocations: 1.876 MB / 311.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.04427, allocations: 7.938 kB / 311.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.0445, allocations: 95.88 kB / 311.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/0.04467, allocations: 75.69 kB / 312 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.0447, allocations: 15.98 kB / 312 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.04588, allocations: 2.248 MB / 314.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.04589, allocations: 16.02 kB / 314.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007216/0.04661, allocations: 0.7453 MB / 315 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.04678, allocations: 119.4 kB / 315.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.04683, allocations: 23.92 kB / 315.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.04702, allocations: 24 kB / 315.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.0471, allocations: 48.34 kB / 315.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.04712, allocations: 16.03 kB / 315.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.04738, allocations: 406.8 kB / 315.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04738, allocations: 0 / 315.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006447/0.04802, allocations: 299.9 kB / 315.9 MB, free: 9.855 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.0002173/0.04824, allocations: 143.1 kB / 316.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007062/0.04894, allocations: 0.6016 MB / 316.7 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.04895, allocations: 0 / 316.7 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.04929, allocations: 402.6 kB / 317 MB, free: 8.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.04992, allocations: 222.7 kB / 317.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.05346, allocations: 2.865 MB / 320.1 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.05381, allocations: 0.5201 MB / 320.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.05404, allocations: 107 kB / 320.8 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.05441, allocations: 282 kB / 321 MB, free: 4.582 MB / 298.7 MB Notification: Performance of SimCode: time 1.793e-06/0.05441, allocations: 0 / 321 MB, free: 4.582 MB / 298.7 MB Notification: Performance of Templates: time 0.01922/0.07362, allocations: 13.43 MB / 334.5 MB, free: 7.383 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/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: 2.987839969806373]