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.001328/0.001328, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0009445/0.0009445, allocations: 169.5 kB / 24.82 MB, free: 9.324 MB / 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 0.9851/0.9851, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.352e-06/1.352e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.512e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002997/0.003013, allocations: 2.767 MB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.004238, allocations: 0.9228 MB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.004367, allocations: 7.938 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.004573, allocations: 67.44 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.004788, allocations: 107.1 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.005009, allocations: 111.7 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.005278, allocations: 362.5 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.005412, allocations: 81.97 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.005633, allocations: 207.6 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.005753, allocations: 115.6 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.005785, allocations: 35.94 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-05/0.005838, allocations: 32 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.005874, allocations: 67.73 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.005942, allocations: 111.7 kB / 278.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.006178, allocations: 239.1 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00618, allocations: 0 / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00618, allocations: 0 / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.006183, allocations: 0 / 278.6 MB, free: 12.07 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.0006293/0.006813, allocations: 0.644 MB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.006852, allocations: 12.03 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.006982, allocations: 56.75 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.007199, allocations: 221 kB / 279.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.007223, allocations: 25.02 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.00726, allocations: 28.38 kB / 279.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.007498, allocations: 205.1 kB / 279.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.007508, allocations: 192 / 279.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.007526, allocations: 12.38 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.007533, allocations: 11.88 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.007639, allocations: 88.5 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/0.008439, allocations: 0.7974 MB / 280.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.008896, allocations: 135.1 kB / 280.8 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.985e-05/0.008986, allocations: 67.62 kB / 280.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.009004, allocations: 4 kB / 280.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.009027, allocations: 49.39 kB / 280.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.213e-06/0.009028, allocations: 0 / 280.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002123/0.01115, allocations: 1.125 MB / 282.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.01117, allocations: 55.41 kB / 282.1 MB, free: 8.344 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.01132, allocations: 284.2 kB / 282.4 MB, free: 8.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.01134, allocations: 29.7 kB / 282.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.01142, allocations: 239.1 kB / 282.6 MB, free: 7.777 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.01148, allocations: 126.9 kB / 282.8 MB, free: 7.652 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.01156, allocations: 71.69 kB / 282.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.01167, allocations: 0.5156 MB / 283.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.01173, allocations: 40.72 kB / 283.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/0.01182, allocations: 111.6 kB / 283.5 MB, free: 6.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.01199, allocations: 174 kB / 283.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01199, allocations: 0 / 283.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006049/0.0126, allocations: 403.9 kB / 284.1 MB, free: 6.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.01261, allocations: 8 kB / 284.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01262, allocations: 0 / 284.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/0.0134, allocations: 315 kB / 284.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.01352, allocations: 55.91 kB / 284.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.0162, allocations: 4.517 MB / 289 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.01629, allocations: 8 kB / 289 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.0163, allocations: 12 kB / 289 MB, free: 1.133 MB / 266.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 9.222e-05/0.0164, allocations: 176.5 kB / 289.1 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.01644, allocations: 39.81 kB / 289.2 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.01647, allocations: 42.98 kB / 289.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01648, allocations: 4 kB / 289.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01648, allocations: 4 kB / 289.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.01649, allocations: 7.984 kB / 289.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008851/0.01737, allocations: 0.7302 MB / 290 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01737, allocations: 0 / 290 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.684e-05/0.01747, allocations: 43.97 kB / 290 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000753/0.01822, allocations: 307.3 kB / 290.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.01824, allocations: 8 kB / 290.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.02046, allocations: 4.5 MB / 294.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02046, allocations: 3.938 kB / 294.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009349/0.02139, allocations: 0.5719 MB / 295.4 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.02141, allocations: 27.8 kB / 295.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.02143, allocations: 4 kB / 295.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.02152, allocations: 12 kB / 295.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.02157, allocations: 35.88 kB / 295.5 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.02158, allocations: 8.031 kB / 295.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.02166, allocations: 197 kB / 295.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02166, allocations: 0 / 295.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000347/0.022, allocations: 104 kB / 295.8 MB, free: 9.996 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 7.757e-05/0.02208, allocations: 107.2 kB / 295.9 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.02249, allocations: 0.5651 MB / 296.5 MB, free: 9.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.02249, allocations: 0 / 296.5 MB, free: 9.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.02275, allocations: 0.4913 MB / 296.9 MB, free: 8.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.02296, allocations: 24.5 kB / 297 MB, free: 8.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.02382, allocations: 0.6386 MB / 297.6 MB, free: 8.043 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.758e-05/0.02388, allocations: 101.1 kB / 297.7 MB, free: 7.922 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.02393, allocations: 22.28 kB / 297.7 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.024, allocations: 98.19 kB / 297.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.024, allocations: 0 / 297.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of Templates: time 0.007471/0.03147, allocations: 6.196 MB / 304 MB, free: 1.625 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","",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.8263873090036213]