Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [: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.001022/0.001022, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008533/0.0008533, allocations: 92.75 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.215e-06, allocations: 0 / 343.1 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 51.48 MB / 394.6 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.311/0.4204, allocations: 81.5 MB / 476.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4206, allocations: 79.64 kB / 476.2 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02931/0.4499, allocations: 11.97 MB / 488.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.45, allocations: 8 kB / 488.2 MB, free: 1.805 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001132/0.4511, allocations: 0.7333 MB / 488.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4512, allocations: 12.03 kB / 488.9 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.4513, allocations: 63.34 kB / 489 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.4517, allocations: 352.1 kB / 489.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.4518, allocations: 19.19 kB / 489.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.4518, allocations: 32 kB / 489.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000504/0.4523, allocations: 307.4 kB / 489.7 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.4529, allocations: 324.9 kB / 490 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.4529, allocations: 7.906 kB / 490 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.4529, allocations: 0.9375 kB / 490 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.4529, allocations: 12 kB / 490 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.4553, allocations: 1.514 MB / 491.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.4559, allocations: 270.5 kB / 491.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.4562, allocations: 159.5 kB / 492 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.4562, allocations: 12.33 kB / 492 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.4563, allocations: 34.52 kB / 492 MB, free: 14.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.444e-06/0.4563, allocations: 0 / 492 MB, free: 14.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.001867/0.4581, allocations: 0.8227 MB / 492.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.4582, allocations: 59 kB / 492.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.4585, allocations: 336.6 kB / 493.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.4586, allocations: 25.7 kB / 493.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.4587, allocations: 270.5 kB / 493.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.4588, allocations: 176.5 kB / 493.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.4589, allocations: 0 / 493.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.459, allocations: 357.5 kB / 494 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.4592, allocations: 131.1 kB / 494.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.4595, allocations: 251.1 kB / 494.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.4598, allocations: 168.9 kB / 494.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4598, allocations: 0 / 494.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009832/0.4607, allocations: 0.6022 MB / 495.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4608, allocations: 12 kB / 495.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4608, allocations: 0 / 495.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.4613, allocations: 171.1 kB / 495.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.4619, allocations: 122.9 kB / 495.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/0.4654, allocations: 3.668 MB / 499.1 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.4659, allocations: 35.97 kB / 499.2 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.466, allocations: 23.31 kB / 499.2 MB, free: 8.078 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 (58): * Single equations (assignments): 56 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.4661, allocations: 108.9 kB / 499.3 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.4662, allocations: 55.28 kB / 499.3 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.4663, allocations: 54.62 kB / 499.4 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4663, allocations: 4 kB / 499.4 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.4663, allocations: 4 kB / 499.4 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4664, allocations: 3.984 kB / 499.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.4682, allocations: 1.109 MB / 0.4888 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4682, allocations: 0 / 0.4888 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.4685, allocations: 77.64 kB / 0.4889 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004081/0.4689, allocations: 155.5 kB / 0.489 GB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.469, allocations: 11.25 kB / 0.489 GB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.472, allocations: 3.474 MB / 0.4924 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.472, allocations: 0 / 0.4924 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008576/0.4729, allocations: 0.6354 MB / 0.493 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.473, allocations: 119.4 kB / 0.4931 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.4731, allocations: 7.906 kB / 0.4932 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.4734, allocations: 23.91 kB / 0.4932 GB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.4735, allocations: 42.38 kB / 0.4932 GB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.4735, allocations: 11.38 kB / 0.4932 GB, free: 2.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000242/0.4738, allocations: 246.7 kB / 0.4935 GB, free: 2.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006634/0.4744, allocations: 120 kB / 0.4936 GB, free: 2.379 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.4746, allocations: 115.1 kB / 0.4937 GB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009623/0.4756, allocations: 0.6198 MB / 0.4943 GB, free: 1.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4756, allocations: 256 / 0.4943 GB, free: 1.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.4762, allocations: 427.5 kB / 0.4947 GB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.4765, allocations: 27.67 kB / 0.4947 GB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.4779, allocations: 0.6457 MB / 0.4954 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.4785, allocations: 0.9127 MB / 0.4963 GB, free: 15.83 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4785, allocations: 0 / 0.4963 GB, free: 15.83 MB / 378.7 MB Notification: Performance of Templates: time 0.009887/0.4884, allocations: 5.252 MB / 0.5014 GB, free: 10.66 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches