Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.001052/0.001052, allocations: 84.98 kB / 23 MB, free: 1.5 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.001194/0.001194, allocations: 175.1 kB / 26.39 MB, free: 7.758 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.9694/0.9694, allocations: 158.6 MB / 188.3 MB, free: 2.793 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.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.328e-05, allocations: 10.19 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003047/0.003071, allocations: 2.662 MB / 254.9 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.004221, allocations: 0.8848 MB / 255.8 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.004351, allocations: 7.938 kB / 255.8 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.004553, allocations: 55.52 kB / 255.8 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.004762, allocations: 111.1 kB / 256 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.00494, allocations: 99.75 kB / 256.1 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.005216, allocations: 362.5 kB / 256.4 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.005354, allocations: 70.03 kB / 256.5 MB, free: 2.984 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.005546, allocations: 207.5 kB / 256.7 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.005687, allocations: 107.7 kB / 256.8 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.005723, allocations: 32 kB / 256.8 MB, free: 2.645 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.072e-05/0.005754, allocations: 28 kB / 256.8 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.005802, allocations: 75.72 kB / 256.9 MB, free: 2.543 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.005874, allocations: 103.8 kB / 257 MB, free: 2.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.006113, allocations: 235.1 kB / 257.2 MB, free: 2.211 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.006116, allocations: 0 / 257.2 MB, free: 2.211 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006116, allocations: 0 / 257.2 MB, free: 2.211 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.006121, allocations: 4 kB / 257.2 MB, free: 2.207 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009599/0.007081, allocations: 0.6324 MB / 257.9 MB, free: 1.539 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.007117, allocations: 15.98 kB / 257.9 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.007195, allocations: 60.64 kB / 258 MB, free: 1.465 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.007393, allocations: 204.2 kB / 258.2 MB, free: 1.238 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.007417, allocations: 17.03 kB / 258.2 MB, free: 1.223 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.007452, allocations: 28.38 kB / 258.2 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.007701, allocations: 213 kB / 258.4 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.007711, allocations: 192 / 258.4 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.007729, allocations: 8.375 kB / 258.4 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.007739, allocations: 11.94 kB / 258.4 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.007856, allocations: 92.5 kB / 258.5 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.008754, allocations: 0.8049 MB / 259.3 MB, free: 4 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.008963, allocations: 130.9 kB / 259.5 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.009052, allocations: 71.72 kB / 259.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.009074, allocations: 4 kB / 259.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.0091, allocations: 37.39 kB / 259.6 MB, free: 15.74 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.009102, allocations: 0 / 259.6 MB, free: 15.74 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.002335/0.01144, allocations: 1.129 MB / 260.7 MB, free: 14.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.01146, allocations: 55.41 kB / 260.7 MB, free: 14.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.01161, allocations: 274.5 kB / 261 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.01163, allocations: 29.7 kB / 261 MB, free: 14.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01173, allocations: 247 kB / 261.3 MB, free: 13.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.0118, allocations: 119 kB / 261.4 MB, free: 13.81 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.01188, allocations: 67.7 kB / 261.5 MB, free: 13.74 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.012, allocations: 0.5117 MB / 262 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.01207, allocations: 44.7 kB / 262 MB, free: 13.17 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.426e-05/0.01216, allocations: 103.9 kB / 262.1 MB, free: 13.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.01233, allocations: 182.1 kB / 262.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01233, allocations: 0 / 262.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006865/0.01302, allocations: 411.6 kB / 262.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01303, allocations: 4 kB / 262.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01304, allocations: 0 / 262.7 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008699/0.01391, allocations: 315 kB / 263 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01404, allocations: 51.97 kB / 263.1 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.01712, allocations: 4.504 MB / 267.6 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.01722, allocations: 12 kB / 267.6 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.01724, allocations: 15.98 kB / 267.6 MB, free: 7.309 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.01735, allocations: 180.4 kB / 267.8 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.01739, allocations: 39.81 kB / 267.8 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.01744, allocations: 42.64 kB / 267.9 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.01744, allocations: 7.984 kB / 267.9 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.01745, allocations: 0 / 267.9 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01745, allocations: 0 / 267.9 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009481/0.0184, allocations: 0.7295 MB / 268.6 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.0184, allocations: 0 / 268.6 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.01851, allocations: 43.91 kB / 268.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007988/0.01931, allocations: 303.1 kB / 268.9 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.01932, allocations: 4 kB / 268.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.0221, allocations: 4.496 MB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.0221, allocations: 7.922 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.02286, allocations: 0.5837 MB / 274 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.02288, allocations: 23.86 kB / 274 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.0229, allocations: 4 kB / 274 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.023, allocations: 12 kB / 274.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.02305, allocations: 35.91 kB / 274.1 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.02307, allocations: 11.97 kB / 274.1 MB, free: 484 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.748e-05/0.02314, allocations: 188.9 kB / 274.3 MB, free: 296 kB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02314, allocations: 0 / 274.3 MB, free: 296 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.02354, allocations: 107.9 kB / 274.4 MB, free: 188 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001107/0.02365, allocations: 99.19 kB / 274.5 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.02417, allocations: 0.5615 MB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02417, allocations: 0 / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.02446, allocations: 498.8 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.0247, allocations: 24.98 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.02565, allocations: 0.619 MB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.778e-05/0.02572, allocations: 105.2 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.02578, allocations: 22.28 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.02586, allocations: 98.19 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02586, allocations: 0 / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Templates: time 0.007962/0.03382, allocations: 6.314 MB / 282.7 MB, free: 7.703 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.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: 3.0564418379217386]