Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [: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 3.2.3+maint.om/package.mo): time 0.0009897/0.0009897, allocations: 178.9 kB / 8.476 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.2 MB / 214.1 MB, free: 1.879 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009963/0.0009962, allocations: 83.39 kB / 262.1 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.095e-06, allocations: 0 / 315 MB, free: 23.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 47.58 MB / 362.6 MB, free: 7.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3373/0.4471, allocations: 79.34 MB / 441.9 MB, free: 140 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.4475, allocations: 83.69 kB / 442 MB, free: 92 kB / 314.7 MB Notification: Performance of FrontEnd: time 0.02664/0.4741, allocations: 10.68 MB / 452.7 MB, free: 7.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.4742, allocations: 4 kB / 452.7 MB, free: 7.68 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001429/0.4756, allocations: 0.6049 MB / 453.3 MB, free: 7.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4757, allocations: 8.031 kB / 453.3 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/0.4764, allocations: 100.4 kB / 453.4 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.4769, allocations: 270.9 kB / 453.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4769, allocations: 12 kB / 453.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.477, allocations: 16 kB / 453.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004142/0.4774, allocations: 218.6 kB / 453.9 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.4779, allocations: 270.1 kB / 454.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.4779, allocations: 3.906 kB / 454.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.478, allocations: 0 / 454.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.478, allocations: 8 kB / 454.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.4801, allocations: 1.392 MB / 455.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.4804, allocations: 200.6 kB / 455.7 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.4806, allocations: 86.8 kB / 455.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.4807, allocations: 89.09 kB / 455.9 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.4808, allocations: 33.25 kB / 456 MB, free: 4.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.893e-06/0.4808, allocations: 0 / 456 MB, free: 4.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006782/0.4815, allocations: 255 kB / 456.2 MB, free: 4.512 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.4815, allocations: 55.41 kB / 456.3 MB, free: 4.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.4816, allocations: 135.1 kB / 456.4 MB, free: 4.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4817, allocations: 25.7 kB / 456.4 MB, free: 4.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.4818, allocations: 170.2 kB / 456.6 MB, free: 4.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.4818, allocations: 80.81 kB / 456.7 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.4819, allocations: 4 kB / 456.7 MB, free: 4.055 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.482, allocations: 322.6 kB / 457 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.4821, allocations: 67.31 kB / 457 MB, free: 3.695 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4823, allocations: 120.5 kB / 457.2 MB, free: 3.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.4825, allocations: 87.5 kB / 457.2 MB, free: 3.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4825, allocations: 4 kB / 457.2 MB, free: 3.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006082/0.4832, allocations: 303 kB / 457.5 MB, free: 3.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4832, allocations: 4 kB / 457.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4832, allocations: 0 / 457.5 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.4835, allocations: 80.38 kB / 457.6 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.4837, allocations: 43.8 kB / 457.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.4856, allocations: 1.728 MB / 459.4 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.4857, allocations: 19.91 kB / 459.4 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.4857, allocations: 8 kB / 459.4 MB, free: 1.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.4859, allocations: 108.8 kB / 459.5 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.4859, allocations: 15.81 kB / 459.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.4865, allocations: 275.9 kB / 459.8 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4866, allocations: 4 kB / 459.8 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4866, allocations: 0 / 459.8 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4866, allocations: 0 / 459.8 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009687/0.4876, allocations: 0.654 MB / 460.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4876, allocations: 0 / 460.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.4877, allocations: 23.98 kB / 460.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.488, allocations: 72.59 kB / 460.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.488, allocations: 4 kB / 460.6 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.4897, allocations: 1.713 MB / 462.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4897, allocations: 7.891 kB / 462.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000733/0.4904, allocations: 439.5 kB / 462.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.4906, allocations: 112.3 kB / 462.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.4906, allocations: 0 / 462.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4907, allocations: 3.984 kB / 462.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.4908, allocations: 12.08 kB / 462.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.4908, allocations: 11.81 kB / 462.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.375e-05/0.4909, allocations: 114.6 kB / 463 MB, free: 14.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005517/0.4915, allocations: 87.75 kB / 463.1 MB, free: 14.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003167/0.4918, allocations: 119.1 kB / 463.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006687/0.4925, allocations: 303.2 kB / 463.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4925, allocations: 4 kB / 463.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.4929, allocations: 216.5 kB / 463.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.4932, allocations: 11.66 kB / 463.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.4944, allocations: 381.1 kB / 464.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.4949, allocations: 0.7745 MB / 464.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4949, allocations: 0 / 464.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of Templates: time 0.007527/0.5024, allocations: 2.853 MB / 467.7 MB, free: 9.645 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches