Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 92.62 kB / 20.95 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 153.5 kB / 24.25 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.392e-05, allocations: 6.25 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00451/0.004544, allocations: 2.593 MB / 269.9 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.006312, allocations: 0.8332 MB / 270.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.006541, allocations: 4 kB / 270.7 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.006814, allocations: 59.44 kB / 270.8 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004847/0.007298, allocations: 99.19 kB / 270.9 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.007644, allocations: 107.7 kB / 271 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.008161, allocations: 358.5 kB / 271.4 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.008375, allocations: 78.86 kB / 271.4 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.00877, allocations: 207.5 kB / 271.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.009023, allocations: 103.7 kB / 271.7 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.217e-05/0.009106, allocations: 31.94 kB / 271.8 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.009177, allocations: 28 kB / 271.8 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.00926, allocations: 75.73 kB / 271.9 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.009416, allocations: 103.8 kB / 272 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005009/0.009917, allocations: 374.8 kB / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.00992, allocations: 0 / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.009921, allocations: 0 / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.009933, allocations: 0 / 272.3 MB, free: 1.676 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001246/0.01118, allocations: 0.5365 MB / 272.9 MB, free: 1.109 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01122, allocations: 8.031 kB / 272.9 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.01135, allocations: 52.75 kB / 272.9 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.01178, allocations: 205.8 kB / 273.1 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.01181, allocations: 21.03 kB / 273.2 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.01187, allocations: 28.38 kB / 273.2 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.01249, allocations: 280.3 kB / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.0125, allocations: 192 / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.01253, allocations: 12.38 kB / 273.5 MB, free: 488 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.01254, allocations: 11.94 kB / 273.5 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.01306, allocations: 214.5 kB / 273.7 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.01488, allocations: 0.8094 MB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.01539, allocations: 190.5 kB / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.01568, allocations: 96.81 kB / 274.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.01571, allocations: 4 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.01575, allocations: 42.48 kB / 274.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.01575, allocations: 4 kB / 274.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.005699/0.02145, allocations: 1.398 MB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.02151, allocations: 55.41 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.02178, allocations: 228 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.02182, allocations: 29.7 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.02197, allocations: 184.5 kB / 276.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.02211, allocations: 126.9 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.02224, allocations: 62.08 kB / 276.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.02243, allocations: 338.8 kB / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.02271, allocations: 108.7 kB / 277.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.02305, allocations: 166.9 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.02367, allocations: 283.8 kB / 277.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.02367, allocations: 0 / 277.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001859/0.02553, allocations: 0.5489 MB / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.02555, allocations: 10.81 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.02556, allocations: 0 / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.02764, allocations: 345.3 kB / 278.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.02792, allocations: 55.91 kB / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.03354, allocations: 3.854 MB / 282.6 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.0338, allocations: 15.98 kB / 282.6 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.03383, allocations: 12 kB / 282.6 MB, free: 6.926 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 0.0002105/0.03404, allocations: 149.8 kB / 282.8 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/0.03413, allocations: 39.81 kB / 282.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.03422, allocations: 42.64 kB / 282.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.03423, allocations: 4 kB / 282.8 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.03424, allocations: 3.938 kB / 282.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.03425, allocations: 7.922 kB / 282.8 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.03654, allocations: 0.8492 MB / 283.7 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.03654, allocations: 4.062 kB / 283.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.03677, allocations: 43.97 kB / 283.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/0.03871, allocations: 341.8 kB / 284.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.03874, allocations: 12 kB / 284.1 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005515/0.04425, allocations: 3.85 MB / 287.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.04425, allocations: 0 / 287.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.04628, allocations: 0.7404 MB / 288.7 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.04634, allocations: 27.83 kB / 288.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.04639, allocations: 8 kB / 288.7 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.04662, allocations: 11.98 kB / 288.7 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.04672, allocations: 35.88 kB / 288.8 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.04675, allocations: 12 kB / 288.8 MB, free: 464 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001873/0.04694, allocations: 155 kB / 288.9 MB, free: 308 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04694, allocations: 0 / 288.9 MB, free: 308 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006223/0.04756, allocations: 100 kB / 289 MB, free: 208 kB / 266.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.0001527/0.04771, allocations: 111.3 kB / 289.1 MB, free: 88 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.09657/0.1443, allocations: 0.5373 MB / 289.7 MB, free: 31.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.1443, allocations: 1.375 kB / 289.7 MB, free: 31.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.1449, allocations: 421.9 kB / 290.1 MB, free: 31.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1452, allocations: 30.09 kB / 290.1 MB, free: 31.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.1465, allocations: 0.6441 MB / 290.8 MB, free: 31.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.1467, allocations: 170.3 kB / 290.9 MB, free: 31.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.113e-05/0.1468, allocations: 18.8 kB / 290.9 MB, free: 31.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.1468, allocations: 19.56 kB / 291 MB, free: 31.35 MB / 266.7 MB Notification: Performance of SimCode: time 1.783e-06/0.1468, allocations: 1.031 kB / 291 MB, free: 31.35 MB / 266.7 MB Notification: Performance of Templates: time 0.01037/0.1572, allocations: 5.679 MB / 296.6 MB, free: 30.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.613306454994017]