Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.00116/0.00116, allocations: 194.9 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008454/0.0008454, allocations: 88.17 kB / 286.3 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.588e-06, allocations: 4 kB / 343.2 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 51.47 MB / 394.6 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.4295, allocations: 88.3 MB / 482.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.4298, allocations: 88.14 kB / 483 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.08496/0.5147, allocations: 36.81 MB / 0.5076 GB, free: 5.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.129e-05/0.5148, allocations: 20 kB / 0.5077 GB, free: 5.16 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005569/0.5204, allocations: 1.479 MB / 0.5091 GB, free: 3.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.5205, allocations: 8.031 kB / 0.5091 GB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003507/0.524, allocations: 498.1 kB / 0.5096 GB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.5245, allocations: 301.6 kB / 0.5099 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.5246, allocations: 51.98 kB / 0.5099 GB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.5248, allocations: 76 kB / 0.51 GB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00197/0.5268, allocations: 1.017 MB / 0.511 GB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.5287, allocations: 1.041 MB / 0.512 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.5287, allocations: 0 / 0.512 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/0.5288, allocations: 3.984 kB / 0.512 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.5289, allocations: 32 kB / 0.512 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006868/0.5357, allocations: 4.149 MB / 0.5161 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.5366, allocations: 0.5088 MB / 0.5166 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008482/0.5374, allocations: 0.4938 MB / 0.5171 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.5377, allocations: 191.1 kB / 0.5172 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.5377, allocations: 55.56 kB / 0.5173 GB, free: 10.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 3.076e-06/0.5377, allocations: 0 / 0.5173 GB, free: 10.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.006601/0.5443, allocations: 2.406 MB / 0.5197 GB, free: 8.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.5444, allocations: 90.11 kB / 0.5197 GB, free: 8.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.5448, allocations: 309.8 kB / 0.52 GB, free: 8.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.5449, allocations: 25.7 kB / 0.5201 GB, free: 8.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.5452, allocations: 442.8 kB / 0.5205 GB, free: 7.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.5455, allocations: 405.9 kB / 0.5209 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.5455, allocations: 0 / 0.5209 GB, free: 7.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5457, allocations: 370.8 kB / 0.5212 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005655/0.5463, allocations: 332 kB / 0.5215 GB, free: 6.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.5471, allocations: 0.5891 MB / 0.5221 GB, free: 5.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.5482, allocations: 458.1 kB / 0.5225 GB, free: 5.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5482, allocations: 3.906 kB / 0.5226 GB, free: 5.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002422/0.5506, allocations: 1.226 MB / 0.5237 GB, free: 4.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5506, allocations: 10.38 kB / 0.5238 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.5507, allocations: 10.03 kB / 0.5238 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005501/0.5512, allocations: 185.5 kB / 0.5239 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.5526, allocations: 315.6 kB / 0.5242 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/0.5568, allocations: 3.734 MB / 0.5279 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.558, allocations: 64.02 kB / 0.528 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.5582, allocations: 59.97 kB / 0.528 GB, free: 15.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * 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.000325/0.5585, allocations: 140.5 kB / 0.5281 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.5587, allocations: 63.25 kB / 0.5282 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.5614, allocations: 1.15 MB / 0.5293 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.5614, allocations: 16 kB / 0.5293 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.567e-06/0.5615, allocations: 4 kB / 0.5293 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5615, allocations: 3.984 kB / 0.5294 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004272/0.5657, allocations: 2.244 MB / 0.5315 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.5658, allocations: 1.969 kB / 0.5315 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.5669, allocations: 223.9 kB / 0.5318 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004962/0.5674, allocations: 157.5 kB / 0.5319 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/0.5675, allocations: 15.98 kB / 0.5319 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.5709, allocations: 3.544 MB / 0.5354 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.571, allocations: 64 / 0.5354 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003/0.574, allocations: 1.657 MB / 0.537 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.5744, allocations: 224.2 kB / 0.5372 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.5745, allocations: 4 kB / 0.5372 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008147/0.5753, allocations: 69.22 kB / 0.5373 GB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.5755, allocations: 68.89 kB / 0.5374 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/0.5756, allocations: 36.2 kB / 0.5374 GB, free: 5.465 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002571/0.5759, allocations: 228.6 kB / 0.5376 GB, free: 5.238 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001243/0.5771, allocations: 276.1 kB / 0.5379 GB, free: 4.969 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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.000397/0.5775, allocations: 182.5 kB / 0.538 GB, free: 4.785 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.5796, allocations: 1.177 MB / 0.5392 GB, free: 3.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5797, allocations: 0 / 0.5392 GB, free: 3.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.5808, allocations: 0.7015 MB / 0.5399 GB, free: 2.867 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.5812, allocations: 26.34 kB / 0.5399 GB, free: 2.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.5849, allocations: 1.361 MB / 0.5412 GB, free: 1.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.586, allocations: 1.126 MB / 0.5423 GB, free: 284 kB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.586, allocations: 7.938 kB / 0.5423 GB, free: 276 kB / 410.7 MB Notification: Performance of Templates: time 0.0271/0.6131, allocations: 12.66 MB / 0.5547 GB, free: 3.762 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches