Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 183.6 kB / 18.09 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007851/0.0007852, allocations: 108.7 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3948/0.3948, allocations: 44.14 MB / 388.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 8 kB / 461.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 61.88 MB / 0.5107 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.4898, allocations: 93.13 MB / 0.6017 GB, free: 1.961 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.4902, allocations: 91.94 kB / 0.6018 GB, free: 1.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06151/0.5517, allocations: 27.1 MB / 0.6282 GB, free: 6.422 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5517, allocations: 0 / 0.6282 GB, free: 6.422 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.5518, allocations: 16 kB / 0.6282 GB, free: 6.406 MB / 442.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.002775/0.5545, allocations: 1.05 MB / 0.6293 GB, free: 5.305 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5546, allocations: 8.031 kB / 0.6293 GB, free: 5.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.556, allocations: 231.7 kB / 0.6295 GB, free: 5.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.5563, allocations: 254.5 kB / 0.6297 GB, free: 4.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.5565, allocations: 78.56 kB / 0.6298 GB, free: 4.707 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.5567, allocations: 100.3 kB / 0.6299 GB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.5584, allocations: 0.9398 MB / 0.6308 GB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/0.5585, allocations: 0 / 0.6308 GB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.5586, allocations: 40 kB / 0.6309 GB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.5586, allocations: 24 kB / 0.6309 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.5599, allocations: 0.7222 MB / 0.6316 GB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006088/0.566, allocations: 3.956 MB / 0.6355 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.569, allocations: 3.381 MB / 0.6388 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.5695, allocations: 291.7 kB / 0.639 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.5696, allocations: 97.42 kB / 0.6391 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.5697, allocations: 38.89 kB / 0.6392 GB, free: 10.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 3.316e-06/0.5697, allocations: 0 / 0.6392 GB, free: 10.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.002735/0.5724, allocations: 1.334 MB / 0.6405 GB, free: 8.664 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.5725, allocations: 144.4 kB / 0.6406 GB, free: 8.492 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.573, allocations: 318.8 kB / 0.6409 GB, free: 8.172 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.573, allocations: 37.7 kB / 0.6409 GB, free: 8.129 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.5734, allocations: 402.3 kB / 0.6413 GB, free: 7.727 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.5736, allocations: 228.7 kB / 0.6415 GB, free: 7.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.5736, allocations: 20 kB / 0.6416 GB, free: 7.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.5738, allocations: 346.8 kB / 0.6419 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.5742, allocations: 193.9 kB / 0.6421 GB, free: 6.945 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.5747, allocations: 400.6 kB / 0.6425 GB, free: 6.477 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008769/0.5756, allocations: 0.6086 MB / 0.6431 GB, free: 5.789 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.5756, allocations: 3.938 kB / 0.6431 GB, free: 5.785 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001518/0.5772, allocations: 0.8774 MB / 0.6439 GB, free: 4.891 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.5772, allocations: 8 kB / 0.6439 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/0.5772, allocations: 4 kB / 0.6439 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/0.5779, allocations: 223.5 kB / 0.6441 GB, free: 4.648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.5784, allocations: 143.8 kB / 0.6443 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005631/0.584, allocations: 6.232 MB / 0.6504 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000589/0.5846, allocations: 91.05 kB / 0.6505 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.5847, allocations: 32 kB / 0.6505 GB, free: 13.62 MB / 474.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 () * Number of clocked 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.000454/0.5852, allocations: 225.5 kB / 0.6507 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.5854, allocations: 39.53 kB / 0.6507 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.5866, allocations: 0.6937 MB / 0.6514 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.5866, allocations: 4 kB / 0.6514 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.5867, allocations: 11.94 kB / 0.6514 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5867, allocations: 3.984 kB / 0.6514 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.5895, allocations: 1.567 MB / 0.653 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5895, allocations: 0 / 0.653 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.5898, allocations: 67.91 kB / 0.653 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005676/0.5903, allocations: 223.5 kB / 0.6532 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.5904, allocations: 19.98 kB / 0.6533 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005555/0.5959, allocations: 6.206 MB / 0.6593 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.596, allocations: 3.938 kB / 0.6593 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.5976, allocations: 1.178 MB / 0.6605 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.5978, allocations: 132.5 kB / 0.6606 GB, free: 2.562 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.5978, allocations: 12 kB / 0.6606 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.5982, allocations: 16.06 kB / 0.6606 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5983, allocations: 63.8 kB / 0.6607 GB, free: 2.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.5983, allocations: 16 kB / 0.6607 GB, free: 2.457 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002957/0.5986, allocations: 213.9 kB / 0.6609 GB, free: 2.246 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5986, allocations: 0 / 0.6609 GB, free: 2.246 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001105/0.5997, allocations: 279.1 kB / 0.6612 GB, free: 1.973 MB / 474.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 () * Number of clocked 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.0002894/0.6, allocations: 145 kB / 0.6613 GB, free: 1.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.6017, allocations: 1.076 MB / 0.6624 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6017, allocations: 0 / 0.6624 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.6026, allocations: 0.776 MB / 0.6631 GB, free: 15.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.6033, allocations: 40.56 kB / 0.6632 GB, free: 15.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.6059, allocations: 1.618 MB / 0.6647 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.6065, allocations: 0.915 MB / 0.6656 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.6068, allocations: 64.55 kB / 0.6657 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.6069, allocations: 31.44 kB / 0.6657 GB, free: 13.14 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6069, allocations: 0 / 0.6657 GB, free: 13.14 MB / 490.7 MB Notification: Performance of Templates: time 0.01261/0.6195, allocations: 6.165 MB / 0.6717 GB, free: 7 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches