Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [: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.001101/0.001101, allocations: 190.5 kB / 8.534 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 225.5 MB / 234.4 MB, free: 3.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008672/0.0008672, allocations: 88.59 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 45.14 MB / 383.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.586e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/0.4183, allocations: 93.42 MB / 0.595 GB, free: 9.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.4185, allocations: 77.77 kB / 0.5951 GB, free: 9.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06321/0.4818, allocations: 28.01 MB / 0.6224 GB, free: 3.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.999e-05/0.4819, allocations: 16 kB / 0.6224 GB, free: 3.359 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003073/0.4849, allocations: 1.044 MB / 0.6235 GB, free: 2.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.485, allocations: 8.031 kB / 0.6235 GB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.4878, allocations: 257.4 kB / 0.6237 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.4881, allocations: 257.6 kB / 0.624 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.4883, allocations: 46 kB / 0.624 GB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.4885, allocations: 63.89 kB / 0.6241 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001323/0.4899, allocations: 0.6358 MB / 0.6247 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.4912, allocations: 0.7566 MB / 0.6254 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.4913, allocations: 3.906 kB / 0.6254 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.4914, allocations: 0 / 0.6254 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.4914, allocations: 27.94 kB / 0.6255 GB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005196/0.4966, allocations: 3.961 MB / 0.6293 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.4975, allocations: 0.5743 MB / 0.6299 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.4978, allocations: 245.8 kB / 0.6301 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.498, allocations: 182.1 kB / 0.6303 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.4981, allocations: 46.3 kB / 0.6303 GB, free: 12.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 3.596e-06/0.4981, allocations: 3.938 kB / 0.6303 GB, free: 12.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001514/0.4996, allocations: 0.6076 MB / 0.6309 GB, free: 11.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.4997, allocations: 136.5 kB / 0.6311 GB, free: 11.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.5, allocations: 244.7 kB / 0.6313 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.5, allocations: 25.7 kB / 0.6313 GB, free: 11.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.5003, allocations: 393.6 kB / 0.6317 GB, free: 11.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.5005, allocations: 225.5 kB / 0.6319 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.5005, allocations: 4 kB / 0.6319 GB, free: 10.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5006, allocations: 345.5 kB / 0.6323 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.501, allocations: 181 kB / 0.6324 GB, free: 10.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.5014, allocations: 379.6 kB / 0.6328 GB, free: 10.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/0.5021, allocations: 265.9 kB / 0.633 GB, free: 9.902 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.5021, allocations: 4 kB / 0.633 GB, free: 9.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001628/0.5037, allocations: 0.8126 MB / 0.6338 GB, free: 9.246 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5037, allocations: 4 kB / 0.6338 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5038, allocations: 8 kB / 0.6338 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.5044, allocations: 216.5 kB / 0.6341 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.505, allocations: 143.5 kB / 0.6342 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/0.5101, allocations: 5.853 MB / 0.6399 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.5107, allocations: 63.22 kB / 0.64 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/0.5108, allocations: 39.36 kB / 0.64 GB, free: 3.023 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.511, allocations: 124.7 kB / 0.6401 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.5112, allocations: 43.59 kB / 0.6402 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.5127, allocations: 0.6709 MB / 0.6408 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.5127, allocations: 8 kB / 0.6408 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.5127, allocations: 4 kB / 0.6408 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5128, allocations: 3.984 kB / 0.6408 GB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.5154, allocations: 1.512 MB / 0.6423 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.5154, allocations: 4 kB / 0.6423 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.5157, allocations: 63.91 kB / 0.6424 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005682/0.5163, allocations: 211.2 kB / 0.6426 GB, free: 320 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.5163, allocations: 12 kB / 0.6426 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/0.5214, allocations: 5.834 MB / 0.6483 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.5215, allocations: 4 kB / 0.6483 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001866/0.5234, allocations: 1.189 MB / 0.6495 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.5236, allocations: 132.4 kB / 0.6496 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-05/0.5237, allocations: 0 / 0.6496 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.5241, allocations: 11.91 kB / 0.6496 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.5242, allocations: 36.02 kB / 0.6496 GB, free: 8.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.5242, allocations: 16 kB / 0.6496 GB, free: 8.555 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000203/0.5244, allocations: 181.2 kB / 0.6498 GB, free: 8.379 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001219/0.5256, allocations: 255 kB / 0.6501 GB, free: 8.129 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003319/0.526, allocations: 135.9 kB / 0.6502 GB, free: 7.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.5275, allocations: 0.9554 MB / 0.6511 GB, free: 7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5276, allocations: 0 / 0.6511 GB, free: 7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008564/0.5284, allocations: 0.6707 MB / 0.6518 GB, free: 6.289 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.5288, allocations: 29.81 kB / 0.6518 GB, free: 6.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.5312, allocations: 0.948 MB / 0.6527 GB, free: 5.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000707/0.5319, allocations: 0.9573 MB / 0.6537 GB, free: 4.285 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5319, allocations: 0 / 0.6537 GB, free: 4.285 MB / 442.7 MB Notification: Performance of Templates: time 0.01579/0.5477, allocations: 7.858 MB / 0.6613 GB, free: 12.45 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches