Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001163/0.001164, allocations: 202.1 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000847/0.000847, allocations: 94.28 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.551e-06/5.581e-06, allocations: 0 / 343.1 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 51.46 MB / 394.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2499/0.3508, allocations: 81.09 MB / 475.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.3511, allocations: 85.92 kB / 475.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02036/0.3714, allocations: 8.099 MB / 483.9 MB, free: 5.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3715, allocations: 7.688 kB / 483.9 MB, free: 5.402 MB / 346.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.0009001/0.3724, allocations: 0.5836 MB / 484.5 MB, free: 4.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3724, allocations: 8.875 kB / 484.5 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.3725, allocations: 39.53 kB / 484.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.3728, allocations: 273.3 kB / 484.8 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3729, allocations: 11.98 kB / 484.8 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.3729, allocations: 20 kB / 484.8 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000306/0.3732, allocations: 186.2 kB / 485 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3736, allocations: 221.2 kB / 485.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3736, allocations: 7.906 kB / 485.2 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.3736, allocations: 0 / 485.2 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3736, allocations: 13.44 kB / 485.2 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.3751, allocations: 1.075 MB / 486.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.3753, allocations: 122.6 kB / 486.4 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.3754, allocations: 48.23 kB / 486.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.3754, allocations: 4 kB / 486.5 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.3754, allocations: 30.56 kB / 486.5 MB, free: 2.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.3754, allocations: 0 / 486.5 MB, free: 2.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.000886/0.3763, allocations: 379.8 kB / 486.9 MB, free: 2.648 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.3764, allocations: 55.59 kB / 486.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.3766, allocations: 239 kB / 487.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.3766, allocations: 25.7 kB / 487.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.3766, allocations: 214.1 kB / 487.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.3767, allocations: 70.62 kB / 487.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.3767, allocations: 0 / 487.5 MB, free: 2.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.3768, allocations: 342.4 kB / 487.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3769, allocations: 70.03 kB / 487.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.377, allocations: 146.9 kB / 488 MB, free: 1.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3772, allocations: 85.08 kB / 488.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3772, allocations: 0 / 488.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004375/0.3776, allocations: 310.6 kB / 488.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3776, allocations: 4 kB / 488.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.3777, allocations: 4 kB / 488.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.3779, allocations: 57.72 kB / 488.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.3782, allocations: 79.89 kB / 488.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.38, allocations: 2.518 MB / 491.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.3803, allocations: 19.98 kB / 491.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.3804, allocations: 12 kB / 491.1 MB, free: 14.43 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 0.0001135/0.3805, allocations: 121.4 kB / 491.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.3806, allocations: 29.38 kB / 491.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.3806, allocations: 25.55 kB / 491.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3806, allocations: 4 kB / 491.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.3806, allocations: 0 / 491.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3807, allocations: 7.984 kB / 491.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.381, allocations: 280 kB / 491.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.381, allocations: 0 / 491.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.3813, allocations: 47.91 kB / 491.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.3815, allocations: 53.25 kB / 491.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.3815, allocations: 7.891 kB / 491.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.3833, allocations: 2.521 MB / 494.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3833, allocations: 4 kB / 494.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003926/0.3837, allocations: 305.9 kB / 494.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.3838, allocations: 92.83 kB / 494.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.3838, allocations: 3.984 kB / 494.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.3841, allocations: 24.05 kB / 494.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.3841, allocations: 11.36 kB / 494.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3841, allocations: 11.89 kB / 494.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002118/0.3844, allocations: 180.9 kB / 494.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003994/0.3848, allocations: 71.88 kB / 494.9 MB, free: 10.6 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.0001825/0.385, allocations: 106.6 kB / 495 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.3856, allocations: 388.6 kB / 495.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3856, allocations: 0 / 495.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.3859, allocations: 291.5 kB / 495.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.3862, allocations: 20.83 kB / 495.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.387, allocations: 351.2 kB / 496 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.3875, allocations: 0.8119 MB / 496.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3875, allocations: 0 / 496.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of Templates: time 0.006311/0.3938, allocations: 2.866 MB / 499.7 MB, free: 5.887 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches