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.001323/0.001323, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001664/0.001664, allocations: 194.8 kB / 23.71 MB, free: 4.406 MB / 14.72 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.443/1.443, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 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 0.001675/0.001675, allocations: 47.92 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2551, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004384/0.2595, allocations: 2.606 MB / 425.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2612, allocations: 0.8139 MB / 426.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2613, allocations: 4 kB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.2616, allocations: 55.5 kB / 426.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.2619, allocations: 103.2 kB / 426.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.2621, allocations: 103.8 kB / 426.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.2625, allocations: 350.6 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.2627, allocations: 77.64 kB / 427.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.2629, allocations: 139.5 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.2631, allocations: 135.3 kB / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.2631, allocations: 28 kB / 427.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.613e-05/0.2632, allocations: 28 kB / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.2633, allocations: 67.77 kB / 427.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.2634, allocations: 127.4 kB / 427.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.2638, allocations: 365 kB / 428 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2638, allocations: 0 / 428 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2638, allocations: 0 / 428 MB, free: 9.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2638, allocations: 0 / 428 MB, free: 9.457 MB / 334.1 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.001011/0.2648, allocations: 0.5365 MB / 428.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2649, allocations: 12.03 kB / 428.6 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.2649, allocations: 32.75 kB / 428.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.2653, allocations: 202 kB / 428.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.2653, allocations: 21.03 kB / 428.8 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.2654, allocations: 28.38 kB / 428.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.2659, allocations: 284 kB / 429.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2659, allocations: 0 / 429.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.266, allocations: 8 kB / 429.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.266, allocations: 11.94 kB / 429.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.2664, allocations: 210.5 kB / 429.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2679, allocations: 0.8047 MB / 430.2 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.2683, allocations: 190.4 kB / 430.3 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.2686, allocations: 100.8 kB / 430.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.2686, allocations: 0 / 430.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.2686, allocations: 38.56 kB / 430.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.142e-06/0.2686, allocations: 96 / 430.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.004879/0.2735, allocations: 1.4 MB / 431.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.2736, allocations: 63.25 kB / 431.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.2738, allocations: 224 kB / 432.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2738, allocations: 33.7 kB / 432.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.274, allocations: 188.4 kB / 432.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2741, allocations: 130.9 kB / 432.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2742, allocations: 62.08 kB / 432.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2743, allocations: 334.8 kB / 432.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.2746, allocations: 108.7 kB / 433 MB, free: 4.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2749, allocations: 167 kB / 433.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.2754, allocations: 276 kB / 433.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2754, allocations: 4 kB / 433.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001538/0.2769, allocations: 0.5334 MB / 434 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2769, allocations: 8 kB / 434 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2769, allocations: 3.938 kB / 434 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.2782, allocations: 241.5 kB / 434.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.2784, allocations: 63.89 kB / 434.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005041/0.2835, allocations: 3.838 MB / 438.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.2837, allocations: 12.06 kB / 438.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.2837, allocations: 12 kB / 438.1 MB, free: 14.86 MB / 350.1 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.0002002/0.2839, allocations: 153.8 kB / 438.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.284, allocations: 31.75 kB / 438.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.425e-05/0.2841, allocations: 34.66 kB / 438.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2841, allocations: 4 kB / 438.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.2841, allocations: 4 kB / 438.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2841, allocations: 3.984 kB / 438.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.2861, allocations: 0.857 MB / 439.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.2861, allocations: 4 kB / 439.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.2863, allocations: 39.86 kB / 439.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.2875, allocations: 249.8 kB / 439.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.2875, allocations: 4 kB / 439.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004757/0.2923, allocations: 3.83 MB / 443.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2923, allocations: 8.156 kB / 443.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.2941, allocations: 0.7247 MB / 444.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.2941, allocations: 23.88 kB / 444.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.2942, allocations: 4 kB / 444.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.2944, allocations: 16 kB / 444.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.2945, allocations: 35.88 kB / 444.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2945, allocations: 4 kB / 444.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.2946, allocations: 163 kB / 444.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2946, allocations: 0 / 444.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006/0.2952, allocations: 108.1 kB / 444.4 MB, free: 8.277 MB / 350.1 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.0001406/0.2954, allocations: 107.1 kB / 444.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.2964, allocations: 0.5553 MB / 445.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2964, allocations: 4 kB / 445.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.297, allocations: 421 kB / 445.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.2974, allocations: 27.84 kB / 445.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2987, allocations: 0.7114 MB / 446.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.2989, allocations: 172.2 kB / 446.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.816e-05/0.299, allocations: 18.3 kB / 446.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.299, allocations: 19.44 kB / 446.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.299, allocations: 0 / 446.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of Templates: time 0.01138/0.3104, allocations: 5.989 MB / 452.4 MB, free: 184 kB / 350.1 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.818261280655861]