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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 177.1 kB / 8.131 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 94.34 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.426e-06, allocations: 4 kB / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2323, allocations: 50.4 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0919/0.3243, allocations: 80.24 MB / 467.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.3246, allocations: 79.95 kB / 467.2 MB, free: 6.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02342/0.348, allocations: 8 MB / 475.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.3481, allocations: 4.844 kB / 475.2 MB, free: 14.51 MB / 362.7 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.001206/0.3493, allocations: 0.5887 MB / 475.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.3493, allocations: 8.031 kB / 475.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.3495, allocations: 43.53 kB / 475.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.35, allocations: 268 kB / 476.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3501, allocations: 16 kB / 476.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.3501, allocations: 20 kB / 476.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003924/0.3505, allocations: 189.3 kB / 476.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.3509, allocations: 216.8 kB / 476.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.351, allocations: 2.438 kB / 476.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.351, allocations: 0 / 476.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.351, allocations: 8 kB / 476.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.3528, allocations: 1.08 MB / 477.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3531, allocations: 114.7 kB / 477.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.3532, allocations: 49.11 kB / 477.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.3532, allocations: 3.906 kB / 477.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3532, allocations: 42.56 kB / 477.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.3533, allocations: 0 / 477.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001029/0.3543, allocations: 375 kB / 478.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3543, allocations: 59.53 kB / 478.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.3546, allocations: 225 kB / 478.5 MB, free: 11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3546, allocations: 29.7 kB / 478.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3548, allocations: 211.4 kB / 478.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.3548, allocations: 70.92 kB / 478.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.3548, allocations: 0 / 478.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.355, allocations: 338.8 kB / 479.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.3551, allocations: 60 kB / 479.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.3553, allocations: 156.2 kB / 479.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.3554, allocations: 85.08 kB / 479.4 MB, free: 10 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3554, allocations: 0 / 479.4 MB, free: 10 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000521/0.356, allocations: 306.6 kB / 479.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.356, allocations: 4 kB / 479.7 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.356, allocations: 4 kB / 479.7 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.3563, allocations: 61.86 kB / 479.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.3566, allocations: 75.89 kB / 479.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.3586, allocations: 2.509 MB / 482.4 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.3589, allocations: 32.08 kB / 482.4 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.3589, allocations: 16 kB / 482.4 MB, free: 6.758 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.888e-05/0.359, allocations: 112.9 kB / 482.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.3591, allocations: 31.62 kB / 482.6 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.025e-05/0.3592, allocations: 30.23 kB / 482.6 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3592, allocations: 7.984 kB / 482.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3592, allocations: 0.75 kB / 482.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3592, allocations: 0 / 482.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.3596, allocations: 286.1 kB / 482.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3596, allocations: 3.938 kB / 482.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.3598, allocations: 51.95 kB / 483 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/0.36, allocations: 49.69 kB / 483 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.36, allocations: 0 / 483 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.3617, allocations: 2.509 MB / 485.5 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3617, allocations: 0.9375 kB / 485.5 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004153/0.3622, allocations: 305.8 kB / 485.8 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.3622, allocations: 100.8 kB / 485.9 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.3623, allocations: 4 kB / 485.9 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.3625, allocations: 23.97 kB / 485.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.3626, allocations: 19.89 kB / 486 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3626, allocations: 4 kB / 486 MB, free: 2.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001623/0.3628, allocations: 181.2 kB / 486.1 MB, free: 2.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004174/0.3632, allocations: 64 kB / 486.2 MB, free: 2.688 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.3634, allocations: 107.5 kB / 486.3 MB, free: 2.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.364, allocations: 395.3 kB / 486.7 MB, free: 2.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.364, allocations: 0.8125 kB / 486.7 MB, free: 2.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.3643, allocations: 295.4 kB / 487 MB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.3646, allocations: 25.97 kB / 487 MB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.3655, allocations: 340.8 kB / 487.3 MB, free: 1.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/0.3659, allocations: 0.816 MB / 488.2 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3659, allocations: 0 / 488.2 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of Templates: time 0.006909/0.3728, allocations: 2.874 MB / 491 MB, free: 13.82 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches