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.0009294/0.0009294, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009755/0.0009755, allocations: 167.9 kB / 25.7 MB, free: 8.445 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.8777/0.8777, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.332e-06/1.332e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.346e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005152/0.005175, allocations: 5.706 MB / 257.3 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.008254, allocations: 1.748 MB / 259 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.008814, allocations: 55.62 kB / 259.1 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.009374, allocations: 321.4 kB / 259.4 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.01043, allocations: 385.1 kB / 259.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.01111, allocations: 371.4 kB / 260.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.01278, allocations: 2.082 MB / 262.2 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.01419, allocations: 1.563 MB / 263.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.01564, allocations: 1.611 MB / 265.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.01717, allocations: 1.173 MB / 266.5 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004308/0.0176, allocations: 308 kB / 266.8 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005701/0.01817, allocations: 467.5 kB / 267.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.0186, allocations: 0.7636 MB / 268.1 MB, free: 6.578 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009033/0.0195, allocations: 0.8849 MB / 269 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.02144, allocations: 2.079 MB / 271 MB, free: 3.605 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.02144, allocations: 0 / 271 MB, free: 3.605 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02145, allocations: 0 / 271 MB, free: 3.605 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.642e-05/0.02151, allocations: 0 / 271 MB, free: 3.605 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.002911/0.02442, allocations: 2.32 MB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.02446, allocations: 19.92 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005314/0.02499, allocations: 360.6 kB / 273.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.02589, allocations: 0.6441 MB / 274.4 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/0.02597, allocations: 164.9 kB / 274.5 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.02617, allocations: 232.2 kB / 274.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.0277, allocations: 1.359 MB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.02773, allocations: 3.938 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.02784, allocations: 96 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.435e-05/0.0279, allocations: 59.98 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007025/0.0286, allocations: 467.4 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/0.03391, allocations: 4.632 MB / 281.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.03429, allocations: 407.7 kB / 281.8 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.03465, allocations: 301.3 kB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.03468, allocations: 16.5 kB / 282.1 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.03471, allocations: 39.06 kB / 282.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 3.156e-06/0.03471, allocations: 0 / 282.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001511/0.03622, allocations: 1.018 MB / 283.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.03625, allocations: 56.06 kB / 283.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.03664, allocations: 0.5544 MB / 283.7 MB, free: 6.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.03667, allocations: 37.7 kB / 283.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.037, allocations: 0.8594 MB / 284.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.03712, allocations: 245.9 kB / 284.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.03725, allocations: 138.6 kB / 285 MB, free: 5.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.03736, allocations: 398.5 kB / 285.4 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.03748, allocations: 88.8 kB / 285.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.0377, allocations: 309.1 kB / 285.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.03809, allocations: 484.7 kB / 286.3 MB, free: 3.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.0381, allocations: 4 kB / 286.3 MB, free: 3.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006187/0.03872, allocations: 0.503 MB / 286.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.03874, allocations: 8 kB / 286.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.03875, allocations: 8 kB / 286.8 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.03894, allocations: 76.3 kB / 286.9 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.03932, allocations: 171.7 kB / 287 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.04048, allocations: 1.683 MB / 288.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.04071, allocations: 24 kB / 288.7 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.04075, allocations: 28 kB / 288.8 MB, free: 1.094 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.000262/0.04101, allocations: 164.3 kB / 288.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.04111, allocations: 63.94 kB / 289 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.0412, allocations: 95.34 kB / 289.1 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.04122, allocations: 11.98 kB / 289.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.04123, allocations: 0 / 289.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.04123, allocations: 3.984 kB / 289.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.04302, allocations: 1.558 MB / 290.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.04302, allocations: 7.984 kB / 290.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.04327, allocations: 103.8 kB / 290.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.04341, allocations: 71.72 kB / 290.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.04344, allocations: 19.98 kB / 290.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009797/0.04442, allocations: 1.671 MB / 292.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.04443, allocations: 3.984 kB / 292.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.04504, allocations: 0.6292 MB / 293.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.04517, allocations: 95.44 kB / 293.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.04523, allocations: 19.98 kB / 293.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.0454, allocations: 31.98 kB / 293.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.04549, allocations: 44.42 kB / 293.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.04552, allocations: 15.98 kB / 293.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.04571, allocations: 256.6 kB / 293.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04571, allocations: 0 / 293.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006519/0.04637, allocations: 299.9 kB / 293.9 MB, free: 11.75 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.0002014/0.04657, allocations: 128.1 kB / 294 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005933/0.04716, allocations: 0.4982 MB / 294.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/0.04718, allocations: 12.5 kB / 294.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.04751, allocations: 343.6 kB / 294.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.04803, allocations: 214.8 kB / 295.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.05144, allocations: 2.83 MB / 297.9 MB, free: 7.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.05176, allocations: 428.7 kB / 298.3 MB, free: 7.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.05203, allocations: 103 kB / 298.4 MB, free: 7.082 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.0524, allocations: 241.2 kB / 298.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0524, allocations: 0 / 298.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of Templates: time 0.01895/0.07135, allocations: 13.12 MB / 311.8 MB, free: 9.758 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 -s gbode -gbm=radauIIA3 -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.7454599388875067]