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.001232/0.001232, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001908/0.00314, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008777/0.0008777, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002054, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.031/1.031, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2253/1.256, allocations: 49.49 MB / 220.7 MB, free: 1.363 MB / 218.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 2.024e-06/2.024e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.482e-05, allocations: 5.406 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005976/0.005991, allocations: 5.726 MB / 227.7 MB, free: 10.29 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.007991, allocations: 1.764 MB / 229.5 MB, free: 8.52 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.008304, allocations: 51.62 kB / 229.5 MB, free: 8.469 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.008689, allocations: 321.4 kB / 229.8 MB, free: 8.152 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005952/0.009284, allocations: 385.1 kB / 230.2 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.009686, allocations: 363.4 kB / 230.6 MB, free: 7.418 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.01099, allocations: 2.09 MB / 232.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.01267, allocations: 1.555 MB / 234.2 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.015, allocations: 1.697 MB / 235.9 MB, free: 1.98 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.01683, allocations: 1.165 MB / 237.1 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007805/0.01761, allocations: 308 kB / 237.4 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.01865, allocations: 463.5 kB / 237.8 MB, free: 60 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005903/0.01924, allocations: 0.6157 MB / 238.5 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.0204, allocations: 0.7214 MB / 239.2 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.02239, allocations: 1.947 MB / 241.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.0224, allocations: 0 / 241.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.0224, allocations: 0 / 241.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.908e-05/0.02244, allocations: 0 / 241.1 MB, free: 12.77 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.002876/0.02532, allocations: 2.78 MB / 243.9 MB, free: 9.945 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.02537, allocations: 11.97 kB / 243.9 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006812/0.02605, allocations: 437.7 kB / 244.3 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.02697, allocations: 0.6519 MB / 245 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.02705, allocations: 164.9 kB / 245.2 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.02725, allocations: 228.3 kB / 245.4 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.02893, allocations: 1.367 MB / 246.7 MB, free: 6.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.02896, allocations: 3.938 kB / 246.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.02908, allocations: 95.98 kB / 246.8 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/0.02913, allocations: 56 kB / 246.9 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.02984, allocations: 463.4 kB / 247.3 MB, free: 6.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005554/0.03539, allocations: 4.675 MB / 252 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.03579, allocations: 415.7 kB / 252.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.03616, allocations: 301.5 kB / 252.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.0362, allocations: 12.44 kB / 252.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.03624, allocations: 39.06 kB / 252.8 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=63): time 4.528e-06/0.03624, allocations: 0 / 252.8 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of matching and sorting (n=65): time 0.001772/0.03802, allocations: 1.034 MB / 253.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.03805, allocations: 56.06 kB / 253.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.03847, allocations: 0.5544 MB / 254.4 MB, free: 15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.0385, allocations: 41.7 kB / 254.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.03887, allocations: 0.8593 MB / 255.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.03899, allocations: 233.9 kB / 255.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.03913, allocations: 142.5 kB / 255.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.03925, allocations: 402.5 kB / 256.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.03936, allocations: 88.78 kB / 256.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.03958, allocations: 301.2 kB / 256.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.04016, allocations: 0.5046 MB / 257 MB, free: 12.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.04017, allocations: 4 kB / 257 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.000871/0.04104, allocations: 0.4951 MB / 257.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.04107, allocations: 8.844 kB / 257.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.04108, allocations: 8 kB / 257.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.04133, allocations: 75.58 kB / 257.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/0.04191, allocations: 179.7 kB / 257.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.0435, allocations: 1.687 MB / 259.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.04384, allocations: 24 kB / 259.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.04389, allocations: 36.05 kB / 259.5 MB, free: 9.605 MB / 266.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.0003957/0.04429, allocations: 164.3 kB / 259.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.04445, allocations: 67.97 kB / 259.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.04459, allocations: 95.3 kB / 259.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.04461, allocations: 8 kB / 259.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.04462, allocations: 0 / 259.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.04463, allocations: 3.984 kB / 259.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.04709, allocations: 1.562 MB / 261.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.0471, allocations: 4 kB / 261.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.04748, allocations: 112 kB / 261.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.04767, allocations: 103.4 kB / 261.6 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.04786, allocations: 63.58 kB / 261.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.0479, allocations: 23.94 kB / 261.7 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.04925, allocations: 1.663 MB / 263.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.04925, allocations: 3.984 kB / 263.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008914/0.05014, allocations: 0.637 MB / 264 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.05023, allocations: 16.03 kB / 264 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.05051, allocations: 27.92 kB / 264 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.05063, allocations: 52.39 kB / 264.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.05067, allocations: 16.06 kB / 264.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.05096, allocations: 256.6 kB / 264.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.05096, allocations: 0 / 264.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001153/0.05212, allocations: 299.9 kB / 264.6 MB, free: 4.242 MB / 266.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.0002949/0.05241, allocations: 132.2 kB / 264.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.05311, allocations: 0.5113 MB / 265.3 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.081e-05/0.05314, allocations: 20.77 kB / 265.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.05354, allocations: 364.3 kB / 265.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.05477, allocations: 2.125 MB / 267.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/0.06172, allocations: 3.225 MB / 271 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.06209, allocations: 456.7 kB / 271.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003534/0.06244, allocations: 107 kB / 271.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.06281, allocations: 241.1 kB / 271.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of SimCode: time 1.954e-06/0.06281, allocations: 0 / 271.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of Templates: time 0.1336/0.1964, allocations: 13.62 MB / 285.4 MB, free: 52.32 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.139853063970804]