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.001043/0.001043, 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.001103/0.001103, allocations: 168.9 kB / 25.69 MB, free: 8.453 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 1.048/1.048, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.402e-06/1.402e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.595e-05, allocations: 2.312 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.00331/0.003336, allocations: 2.72 MB / 254.3 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.004752, allocations: 0.9118 MB / 255.2 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.004895, allocations: 4 kB / 255.2 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.00512, allocations: 55.52 kB / 255.2 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.005409, allocations: 115 kB / 255.4 MB, free: 3.406 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.005644, allocations: 99.75 kB / 255.5 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.005977, allocations: 362.5 kB / 255.8 MB, free: 2.953 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.006133, allocations: 83.98 kB / 255.9 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.006381, allocations: 195.6 kB / 256.1 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.006532, allocations: 115.7 kB / 256.2 MB, free: 2.566 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.006571, allocations: 32 kB / 256.2 MB, free: 2.535 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.032e-05/0.006601, allocations: 32 kB / 256.3 MB, free: 2.504 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.006645, allocations: 67.73 kB / 256.3 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.006718, allocations: 103.8 kB / 256.4 MB, free: 2.336 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.006959, allocations: 247 kB / 256.7 MB, free: 2.094 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006962, allocations: 0 / 256.7 MB, free: 2.094 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.006964, allocations: 0 / 256.7 MB, free: 2.094 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.006969, allocations: 0 / 256.7 MB, free: 2.094 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.0006095/0.007579, allocations: 0.4961 MB / 257.2 MB, free: 1.574 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.007614, allocations: 19.92 kB / 257.2 MB, free: 1.555 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.007674, allocations: 40.91 kB / 257.2 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.007883, allocations: 177.3 kB / 257.4 MB, free: 1.316 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.007909, allocations: 20.97 kB / 257.4 MB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.007944, allocations: 32.33 kB / 257.4 MB, free: 1.262 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.008195, allocations: 213 kB / 257.7 MB, free: 1.043 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.008204, allocations: 8.188 kB / 257.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.00822, allocations: 8.375 kB / 257.7 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.00823, allocations: 11.94 kB / 257.7 MB, free: 1.016 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.008333, allocations: 76.55 kB / 257.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.00915, allocations: 0.6339 MB / 258.4 MB, free: 268 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.009335, allocations: 122.4 kB / 258.5 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.009416, allocations: 56.83 kB / 258.6 MB, free: 76 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.009438, allocations: 4 kB / 258.6 MB, free: 72 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.009464, allocations: 42.55 kB / 258.6 MB, free: 20 kB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.009466, allocations: 0 / 258.6 MB, free: 20 kB / 234.7 MB Notification: Performance of matching and sorting (n=35): time 0.002609/0.01207, allocations: 1.205 MB / 259.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.0121, allocations: 59.41 kB / 259.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.01224, allocations: 211.4 kB / 260.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.01226, allocations: 33.69 kB / 260.1 MB, free: 14.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.01233, allocations: 172.4 kB / 260.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.654e-05/0.0124, allocations: 123 kB / 260.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.01247, allocations: 62.05 kB / 260.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.01256, allocations: 342.7 kB / 260.8 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.01262, allocations: 40.72 kB / 260.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.229e-05/0.01271, allocations: 84.73 kB / 260.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.01286, allocations: 155.9 kB / 261.1 MB, free: 13.44 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01287, allocations: 0 / 261.1 MB, free: 13.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005828/0.01345, allocations: 342.4 kB / 261.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.01347, allocations: 8 kB / 261.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.01347, allocations: 0 / 261.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008249/0.0143, allocations: 297.3 kB / 261.7 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.01449, allocations: 71.89 kB / 261.8 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/0.01713, allocations: 3.138 MB / 264.9 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.01727, allocations: 8 kB / 264.9 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.01729, allocations: 12 kB / 264.9 MB, free: 9.395 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.0001223/0.01741, allocations: 137.7 kB / 265.1 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.01746, allocations: 31.97 kB / 265.1 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.01751, allocations: 34.66 kB / 265.1 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.01751, allocations: 7.984 kB / 265.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.01752, allocations: 4 kB / 265.1 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01752, allocations: 0 / 265.1 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009002/0.01842, allocations: 0.5707 MB / 265.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.01843, allocations: 0 / 265.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.01857, allocations: 48.42 kB / 265.8 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007796/0.01935, allocations: 301.6 kB / 266.1 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.01937, allocations: 8 kB / 266.1 MB, free: 8.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.0216, allocations: 3.139 MB / 269.2 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.0216, allocations: 7.875 kB / 269.2 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.02226, allocations: 470.4 kB / 269.7 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.02229, allocations: 19.86 kB / 269.7 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.02231, allocations: 8 kB / 269.7 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.02241, allocations: 16.02 kB / 269.7 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.02249, allocations: 35.88 kB / 269.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.0225, allocations: 8 kB / 269.8 MB, free: 4.32 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.954e-05/0.02256, allocations: 66.78 kB / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02256, allocations: 0 / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004039/0.02297, allocations: 104 kB / 269.9 MB, free: 4.152 MB / 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.0001426/0.02311, allocations: 80.36 kB / 270 MB, free: 4.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.02358, allocations: 449.2 kB / 270.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.02358, allocations: 4 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.02385, allocations: 386 kB / 270.8 MB, free: 3.188 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.02405, allocations: 24.73 kB / 270.8 MB, free: 3.164 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.02516, allocations: 0.6158 MB / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.952e-05/0.02524, allocations: 105.3 kB / 271.6 MB, free: 2.387 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.951e-05/0.02531, allocations: 22.27 kB / 271.6 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.02545, allocations: 75.38 kB / 271.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of SimCode: time 1.804e-06/0.02545, allocations: 0 / 271.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of Templates: time 0.008634/0.03408, allocations: 6.252 MB / 277.9 MB, free: 12.02 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 -s gbode -gbm=radauIIA3 -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: 2.9364603739231825]