Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.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.002587/0.002587, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002946/0.002946, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.631/1.631, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.743e-05, allocations: 2.312 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00633/0.006358, allocations: 2.764 MB / 275.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.008867, allocations: 0.9228 MB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.00905, allocations: 7.938 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.009355, allocations: 59.5 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.009787, allocations: 111 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.01023, allocations: 123.6 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.01084, allocations: 358.5 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.01107, allocations: 74.03 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.01154, allocations: 215.5 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.01184, allocations: 111.7 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.01192, allocations: 28 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.01203, allocations: 32 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.01214, allocations: 75.67 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.01233, allocations: 111.7 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007175/0.01305, allocations: 382.7 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.01305, allocations: 0 / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01306, allocations: 0 / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.01306, allocations: 4 kB / 277.7 MB, free: 12.49 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001518/0.01458, allocations: 0.6478 MB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.01462, allocations: 12.02 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.01491, allocations: 60.75 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.01539, allocations: 220.9 kB / 278.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.01543, allocations: 17.03 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.964e-05/0.01551, allocations: 28.38 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007329/0.01624, allocations: 264.3 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.01626, allocations: 192 / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.0163, allocations: 16.38 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.01632, allocations: 15.88 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.01701, allocations: 194.5 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.01947, allocations: 0.9219 MB / 280 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.02011, allocations: 206.9 kB / 280.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.02048, allocations: 103.6 kB / 280.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.02052, allocations: 4 kB / 280.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.02057, allocations: 45.27 kB / 280.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.993e-06/0.02057, allocations: 0 / 280.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.007641/0.02821, allocations: 1.431 MB / 281.8 MB, free: 8.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.02828, allocations: 55.41 kB / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.02877, allocations: 328.2 kB / 282.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.02882, allocations: 29.7 kB / 282.2 MB, free: 7.676 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.02907, allocations: 243.2 kB / 282.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.02925, allocations: 131 kB / 282.6 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.02946, allocations: 79.73 kB / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003936/0.02985, allocations: 0.5313 MB / 283.2 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.0302, allocations: 104.7 kB / 283.3 MB, free: 6.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.03065, allocations: 175.6 kB / 283.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008323/0.03148, allocations: 306.1 kB / 283.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.03149, allocations: 0 / 283.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002366/0.03385, allocations: 0.5507 MB / 284.3 MB, free: 5.492 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.03388, allocations: 4 kB / 284.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.03389, allocations: 7.984 kB / 284.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.03667, allocations: 347 kB / 284.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.03705, allocations: 59.91 kB / 284.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008525/0.04557, allocations: 5.131 MB / 289.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.0459, allocations: 12 kB / 289.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.04594, allocations: 16 kB / 289.9 MB, free: 15.68 MB / 282.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.000307/0.04625, allocations: 192.5 kB / 290.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.04637, allocations: 43.8 kB / 290.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.0465, allocations: 42.97 kB / 290.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.04651, allocations: 4.031 kB / 290.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.04652, allocations: 7.938 kB / 290.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.04652, allocations: 3.984 kB / 290.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.04974, allocations: 0.9603 MB / 291.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.04974, allocations: 0 / 291.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.05004, allocations: 39.92 kB / 291.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/0.05272, allocations: 351.3 kB / 291.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.05276, allocations: 11.98 kB / 291.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00835/0.06111, allocations: 5.1 MB / 296.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.06112, allocations: 0 / 296.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.06393, allocations: 0.7868 MB / 297.4 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.06402, allocations: 31.75 kB / 297.4 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.06407, allocations: 8 kB / 297.5 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.0644, allocations: 11.98 kB / 297.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.06453, allocations: 35.88 kB / 297.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.06457, allocations: 16.03 kB / 297.5 MB, free: 7.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.06488, allocations: 217.1 kB / 297.7 MB, free: 7.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06488, allocations: 0 / 297.7 MB, free: 7.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009537/0.06583, allocations: 100 kB / 297.8 MB, free: 7.383 MB / 282.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.000196/0.06603, allocations: 103.2 kB / 297.9 MB, free: 7.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.06762, allocations: 0.6861 MB / 298.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.06763, allocations: 4 kB / 298.6 MB, free: 6.543 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.06865, allocations: 0.546 MB / 299.2 MB, free: 5.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.06916, allocations: 32.8 kB / 299.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.071, allocations: 0.6776 MB / 299.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.07126, allocations: 173.6 kB / 300 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.07139, allocations: 18.3 kB / 300.1 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.07146, allocations: 16.5 kB / 300.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.07146, allocations: 0 / 300.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of Templates: time 0.1576/0.2291, allocations: 5.897 MB / 306 MB, free: 41.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.923683603061363]