Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [: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.001452/0.001452, allocations: 184 kB / 8.138 MB, free: 2.219 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.217/1.217, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.000997/0.0009969, allocations: 95.33 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.55e-06, allocations: 0 / 336.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2132, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08544/0.2986, allocations: 80.14 MB / 467 MB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.2989, allocations: 87.88 kB / 467.1 MB, free: 6.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02262/0.3215, allocations: 7.905 MB / 475 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3216, allocations: 8 kB / 475 MB, free: 14.7 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.0009019/0.3225, allocations: 0.5693 MB / 475.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3225, allocations: 8.031 kB / 475.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.3226, allocations: 35.56 kB / 475.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.323, allocations: 280 kB / 475.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.323, allocations: 8 kB / 475.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.323, allocations: 23.91 kB / 476 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003472/0.3234, allocations: 193.2 kB / 476.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.3238, allocations: 204.8 kB / 476.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3238, allocations: 4 kB / 476.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.3238, allocations: 6.344 kB / 476.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3238, allocations: 4 kB / 476.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.3255, allocations: 1.068 MB / 477.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.3257, allocations: 118.6 kB / 477.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.3258, allocations: 52.86 kB / 477.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3258, allocations: 0 / 477.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3258, allocations: 34.56 kB / 477.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.3259, allocations: 4 kB / 477.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009496/0.3268, allocations: 379.4 kB / 478 MB, free: 11.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.3268, allocations: 55.59 kB / 478.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3271, allocations: 221 kB / 478.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3271, allocations: 25.7 kB / 478.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3272, allocations: 203.5 kB / 478.5 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.3273, allocations: 70.91 kB / 478.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.3273, allocations: 0 / 478.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3274, allocations: 338.8 kB / 478.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3275, allocations: 56 kB / 479 MB, free: 10.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.3277, allocations: 156.2 kB / 479.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3278, allocations: 81.08 kB / 479.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3279, allocations: 4 kB / 479.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004682/0.3283, allocations: 298.4 kB / 479.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3284, allocations: 4 kB / 479.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3284, allocations: 7.938 kB / 479.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.3286, allocations: 54.09 kB / 479.5 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.3289, allocations: 87.89 kB / 479.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.3308, allocations: 2.513 MB / 482.1 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.3311, allocations: 24.16 kB / 482.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.3312, allocations: 16 kB / 482.2 MB, free: 7.016 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.0001057/0.3313, allocations: 123.6 kB / 482.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.3313, allocations: 23.72 kB / 482.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.3314, allocations: 30.05 kB / 482.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3314, allocations: 0 / 482.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3314, allocations: 4.75 kB / 482.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3314, allocations: 3.984 kB / 482.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.3317, allocations: 274.2 kB / 482.6 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3317, allocations: 0 / 482.6 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.332, allocations: 47.97 kB / 482.7 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.3321, allocations: 53.67 kB / 482.7 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3322, allocations: 4.141 kB / 482.7 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.334, allocations: 2.52 MB / 485.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.334, allocations: 5.062 kB / 485.3 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004339/0.3345, allocations: 305.6 kB / 485.6 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.3345, allocations: 100.8 kB / 485.7 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.3346, allocations: 0 / 485.7 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3348, allocations: 23.98 kB / 485.7 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.3349, allocations: 15.97 kB / 485.7 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3349, allocations: 4 kB / 485.7 MB, free: 3.188 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001428/0.335, allocations: 165.2 kB / 485.9 MB, free: 3.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.3354, allocations: 60 kB / 485.9 MB, free: 2.969 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.0001475/0.3356, allocations: 103.5 kB / 486 MB, free: 2.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.3361, allocations: 399.8 kB / 486.4 MB, free: 2.449 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3362, allocations: 4.188 kB / 486.4 MB, free: 2.445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.3365, allocations: 291.5 kB / 486.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3367, allocations: 24.2 kB / 486.7 MB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008338/0.3375, allocations: 340.9 kB / 487.1 MB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.338, allocations: 0.8082 MB / 487.9 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.338, allocations: 0 / 487.9 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of Templates: time 0.00608/0.3441, allocations: 2.816 MB / 490.7 MB, free: 14.14 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches