Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001819/0.001819, allocations: 112.2 kB / 19.04 MB, free: 3.23 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.001967/0.001967, allocations: 196.4 kB / 22.22 MB, free: 48 kB / 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.368/1.368, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.91 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2446, allocations: 52.14 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004329/0.2489, allocations: 2.869 MB / 423.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2502, allocations: 0.7554 MB / 424.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2503, allocations: 8 kB / 424.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.2505, allocations: 63.42 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.2508, allocations: 107.2 kB / 424.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.2511, allocations: 103.8 kB / 424.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.2515, allocations: 398.5 kB / 425.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.2517, allocations: 90.94 kB / 425.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.252, allocations: 163.4 kB / 425.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.2522, allocations: 175.2 kB / 425.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.2522, allocations: 32 kB / 425.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.992e-05/0.2523, allocations: 32 kB / 425.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.2524, allocations: 79.73 kB / 425.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.2525, allocations: 183.1 kB / 425.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.253, allocations: 399.5 kB / 426.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.253, allocations: 0 / 426.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.253, allocations: 0 / 426.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.253, allocations: 3.984 kB / 426.3 MB, free: 9.629 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001258/0.2542, allocations: 0.6623 MB / 427 MB, free: 8.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2543, allocations: 11.97 kB / 427 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.2544, allocations: 40.7 kB / 427 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.2547, allocations: 280.7 kB / 427.3 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.2548, allocations: 25.03 kB / 427.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.2548, allocations: 28.38 kB / 427.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.2554, allocations: 294.3 kB / 427.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2554, allocations: 0 / 427.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.2555, allocations: 16 kB / 427.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.2555, allocations: 8 kB / 427.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/0.2561, allocations: 262.4 kB / 427.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.2579, allocations: 1.116 MB / 429 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.2583, allocations: 142.5 kB / 429.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.2584, allocations: 64.81 kB / 429.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.2585, allocations: 0 / 429.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2585, allocations: 38.56 kB / 429.3 MB, free: 6.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.2585, allocations: 4 kB / 429.3 MB, free: 6.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001974/0.2605, allocations: 0.5833 MB / 429.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2605, allocations: 63.41 kB / 429.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.2608, allocations: 282.5 kB / 430.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.2608, allocations: 25.7 kB / 430.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.261, allocations: 236 kB / 430.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.2611, allocations: 83.3 kB / 430.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.2612, allocations: 65.59 kB / 430.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2613, allocations: 338.8 kB / 430.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.2616, allocations: 103.9 kB / 431 MB, free: 4.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.262, allocations: 196 kB / 431.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.2626, allocations: 297.1 kB / 431.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2626, allocations: 4 kB / 431.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008571/0.2634, allocations: 393.2 kB / 431.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.2635, allocations: 18.89 kB / 431.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2635, allocations: 4 kB / 431.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.2637, allocations: 61.88 kB / 432 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.2641, allocations: 71.89 kB / 432 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.2663, allocations: 2.844 MB / 434.9 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.2666, allocations: 19.98 kB / 434.9 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.2666, allocations: 12 kB / 434.9 MB, free: 360 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.2668, allocations: 153.8 kB / 435.1 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.2668, allocations: 28.03 kB / 435.1 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.2669, allocations: 34.17 kB / 435.1 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2669, allocations: 0 / 435.1 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2669, allocations: 4 kB / 435.1 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2669, allocations: 3.984 kB / 435.1 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.2673, allocations: 333.4 kB / 435.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2673, allocations: 0 / 435.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.2675, allocations: 47.91 kB / 435.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00021/0.2677, allocations: 53.67 kB / 435.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.2678, allocations: 4 kB / 435.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.2699, allocations: 2.837 MB / 438.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2699, allocations: 0 / 438.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007153/0.2706, allocations: 376.8 kB / 438.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.2707, allocations: 104.9 kB / 438.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.2707, allocations: 4 kB / 438.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.2709, allocations: 23.97 kB / 438.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.271, allocations: 15.98 kB / 438.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.271, allocations: 7.984 kB / 438.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.2712, allocations: 194 kB / 439.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2712, allocations: 0 / 439.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.2716, allocations: 72 kB / 439.2 MB, free: 11.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000135/0.2717, allocations: 115.2 kB / 439.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009134/0.2726, allocations: 465.8 kB / 439.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2726, allocations: 0 / 439.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.2731, allocations: 341.2 kB / 440.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2735, allocations: 38.55 kB / 440.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2745, allocations: 0.5634 MB / 440.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.2749, allocations: 0.7792 MB / 441.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.275, allocations: 34.36 kB / 441.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.2751, allocations: 19.44 kB / 441.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2751, allocations: 0 / 441.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of Templates: time 0.006697/0.2818, allocations: 2.943 MB / 444.5 MB, free: 6.352 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.3499198062345386]