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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 195.7 kB / 22.75 MB, free: 5.719 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] 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.001489/0.001489, allocations: 43.92 kB / 369.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2581, allocations: 52.13 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.0042/0.2623, allocations: 2.77 MB / 424 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2637, allocations: 0.8761 MB / 424.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.2639, allocations: 4 kB / 424.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.2641, allocations: 63.48 kB / 425 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.2644, allocations: 99.19 kB / 425.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.2647, allocations: 99.81 kB / 425.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.2651, allocations: 354.6 kB / 425.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2653, allocations: 81.64 kB / 425.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.2655, allocations: 131.5 kB / 425.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2657, allocations: 159.3 kB / 425.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.2657, allocations: 28 kB / 425.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-05/0.2658, allocations: 32 kB / 426 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.2659, allocations: 63.77 kB / 426 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.266, allocations: 147.3 kB / 426.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.2664, allocations: 363.7 kB / 426.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2664, allocations: 4 kB / 426.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2664, allocations: 0 / 426.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.2665, allocations: 4 kB / 426.5 MB, free: 9.895 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.001072/0.2675, allocations: 0.6039 MB / 427.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2676, allocations: 11.89 kB / 427.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.2676, allocations: 40.75 kB / 427.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.268, allocations: 265 kB / 427.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.268, allocations: 20.94 kB / 427.5 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.2681, allocations: 28.38 kB / 427.5 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.2686, allocations: 253.1 kB / 427.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2686, allocations: 0 / 427.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.2687, allocations: 8 kB / 427.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2687, allocations: 8 kB / 427.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.2691, allocations: 214.1 kB / 428 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.2708, allocations: 1.006 MB / 429 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.2713, allocations: 194.4 kB / 429.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.2715, allocations: 100.8 kB / 429.3 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2715, allocations: 0 / 429.3 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.2716, allocations: 38.56 kB / 429.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.142e-06/0.2716, allocations: 0 / 429.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.005355/0.2769, allocations: 1.537 MB / 430.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.277, allocations: 63.2 kB / 430.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.2772, allocations: 225 kB / 431.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.2773, allocations: 37.69 kB / 431.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.2774, allocations: 180.5 kB / 431.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.2775, allocations: 122.9 kB / 431.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.2777, allocations: 74.02 kB / 431.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2778, allocations: 334.8 kB / 431.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.2781, allocations: 112.6 kB / 432 MB, free: 4.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.2784, allocations: 161.4 kB / 432.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.279, allocations: 284 kB / 432.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.279, allocations: 0 / 432.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001687/0.2807, allocations: 0.5255 MB / 432.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2807, allocations: 7.938 kB / 432.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2807, allocations: 3.984 kB / 432.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.282, allocations: 249.4 kB / 433.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.2823, allocations: 63.91 kB / 433.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.2877, allocations: 4.141 MB / 437.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.288, allocations: 15.98 kB / 437.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.288, allocations: 8 kB / 437.4 MB, free: 14.38 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.0002145/0.2882, allocations: 153.8 kB / 437.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.2883, allocations: 27.86 kB / 437.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.2884, allocations: 38.95 kB / 437.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2884, allocations: 4 kB / 437.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2884, allocations: 0 / 437.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2884, allocations: 3.984 kB / 437.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.2908, allocations: 0.986 MB / 438.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2908, allocations: 0 / 438.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.291, allocations: 43.91 kB / 438.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.2923, allocations: 237.6 kB / 438.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.2923, allocations: 11.98 kB / 438.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005154/0.2975, allocations: 4.126 MB / 443 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2975, allocations: 7.969 kB / 443 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.2994, allocations: 0.725 MB / 443.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2995, allocations: 97 kB / 443.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.2996, allocations: 11.94 kB / 443.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.2998, allocations: 11.98 kB / 443.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.2999, allocations: 35.95 kB / 443.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2999, allocations: 8 kB / 443.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.3001, allocations: 164.4 kB / 444.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3001, allocations: 8.062 kB / 444.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006144/0.3007, allocations: 100 kB / 444.2 MB, free: 7.184 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.000153/0.3009, allocations: 107.2 kB / 444.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.3019, allocations: 0.5478 MB / 444.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3019, allocations: 0 / 444.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.3025, allocations: 417.5 kB / 445.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3029, allocations: 32.38 kB / 445.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.3043, allocations: 0.7275 MB / 446 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3047, allocations: 0.7799 MB / 446.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.3048, allocations: 23.44 kB / 446.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3048, allocations: 0 / 446.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of Templates: time 0.00873/0.3135, allocations: 6 MB / 452.8 MB, free: 14.42 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/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