Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 196.5 kB / 16.1 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 226.5 MB / 243.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008001/0.0008001, allocations: 99.14 kB / 295.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3065/0.3065, allocations: 44.81 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 4 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3264, allocations: 62.97 MB / 0.5159 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004107/0.3306, allocations: 4.556 MB / 0.5203 GB, free: 33.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.3332, allocations: 1.495 MB / 0.5218 GB, free: 32.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.3335, allocations: 21.69 kB / 0.5218 GB, free: 32.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.334, allocations: 168.7 kB / 0.522 GB, free: 32.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.3346, allocations: 262.2 kB / 0.5222 GB, free: 32.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.3354, allocations: 425.2 kB / 0.5226 GB, free: 32.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005586/0.336, allocations: 0.7404 MB / 0.5234 GB, free: 31.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.3379, allocations: 1.341 MB / 0.5247 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.3383, allocations: 277.1 kB / 0.5249 GB, free: 30.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.3386, allocations: 392.9 kB / 0.5253 GB, free: 30.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.3387, allocations: 40.47 kB / 0.5253 GB, free: 30.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.3391, allocations: 156.8 kB / 0.5255 GB, free: 30.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.3391, allocations: 136.3 kB / 0.5256 GB, free: 30.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.3394, allocations: 384.2 kB / 0.526 GB, free: 30.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.3401, allocations: 0.8997 MB / 0.5269 GB, free: 29.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3401, allocations: 0 / 0.5269 GB, free: 29.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3401, allocations: 0 / 0.5269 GB, free: 29.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3401, allocations: 0 / 0.5269 GB, free: 29.91 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002631/0.3428, allocations: 1.206 MB / 0.528 GB, free: 29.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3428, allocations: 7.625 kB / 0.5281 GB, free: 29.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.3442, allocations: 241.8 kB / 0.5283 GB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3444, allocations: 264.1 kB / 0.5285 GB, free: 28.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.3445, allocations: 81.5 kB / 0.5286 GB, free: 28.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3446, allocations: 100.2 kB / 0.5287 GB, free: 28.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3459, allocations: 0.9321 MB / 0.5296 GB, free: 28.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.346, allocations: 0 / 0.5296 GB, free: 28.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.346, allocations: 40.69 kB / 0.5297 GB, free: 28.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.3461, allocations: 24 kB / 0.5297 GB, free: 28.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3471, allocations: 0.7226 MB / 0.5304 GB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.3512, allocations: 4.12 MB / 0.5344 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.3529, allocations: 3.376 MB / 0.5377 GB, free: 21.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.3533, allocations: 293.6 kB / 0.538 GB, free: 21.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3534, allocations: 177 kB / 0.5382 GB, free: 21.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3534, allocations: 39.36 kB / 0.5382 GB, free: 20.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.026e-06/0.3534, allocations: 0 / 0.5382 GB, free: 20.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002235/0.3557, allocations: 1.357 MB / 0.5395 GB, free: 20.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3557, allocations: 133.8 kB / 0.5396 GB, free: 20.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.356, allocations: 316.2 kB / 0.5399 GB, free: 19.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3561, allocations: 36.33 kB / 0.54 GB, free: 19.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3562, allocations: 402.6 kB / 0.5404 GB, free: 19.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.3563, allocations: 228.2 kB / 0.5406 GB, free: 19.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.3564, allocations: 17.25 kB / 0.5406 GB, free: 19.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.3565, allocations: 350.9 kB / 0.5409 GB, free: 18.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.3568, allocations: 205.1 kB / 0.5411 GB, free: 18.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.3571, allocations: 392.9 kB / 0.5415 GB, free: 18.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.3578, allocations: 0.6192 MB / 0.5421 GB, free: 18.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3578, allocations: 2.375 kB / 0.5421 GB, free: 18.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001217/0.359, allocations: 0.8799 MB / 0.543 GB, free: 17.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3591, allocations: 5.719 kB / 0.543 GB, free: 17.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.3591, allocations: 12.38 kB / 0.543 GB, free: 17.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/0.3597, allocations: 222.8 kB / 0.5432 GB, free: 17.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.3601, allocations: 136.1 kB / 0.5433 GB, free: 17.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/0.364, allocations: 6.237 MB / 0.5494 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.3644, allocations: 83.39 kB / 0.5495 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.3645, allocations: 39.31 kB / 0.5495 GB, free: 11.74 MB / 378.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.0003171/0.3648, allocations: 224.2 kB / 0.5498 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.365, allocations: 44.72 kB / 0.5498 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.3662, allocations: 0.6819 MB / 0.5505 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.3662, allocations: 8.031 kB / 0.5505 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3662, allocations: 9.125 kB / 0.5505 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.3662, allocations: 9.062 kB / 0.5505 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.3684, allocations: 1.563 MB / 0.552 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3684, allocations: 0 / 0.552 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3686, allocations: 64.78 kB / 0.5521 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/0.3691, allocations: 216.6 kB / 0.5523 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.3692, allocations: 21.94 kB / 0.5523 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004447/0.3736, allocations: 6.225 MB / 0.5584 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3737, allocations: 1.906 kB / 0.5584 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3752, allocations: 1.175 MB / 0.5595 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3753, allocations: 125.6 kB / 0.5597 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.3754, allocations: 13.62 kB / 0.5597 GB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.3757, allocations: 17.44 kB / 0.5597 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3758, allocations: 55.98 kB / 0.5597 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3759, allocations: 18.83 kB / 0.5598 GB, free: 3.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000246/0.3761, allocations: 211.8 kB / 0.56 GB, free: 3.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3761, allocations: 3.938 kB / 0.56 GB, free: 3.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001058/0.3772, allocations: 279.8 kB / 0.5602 GB, free: 3.223 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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.0002488/0.3775, allocations: 137.8 kB / 0.5604 GB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.379, allocations: 1.078 MB / 0.5614 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.379, allocations: 0 / 0.5614 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.3798, allocations: 0.7896 MB / 0.5622 GB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/0.3805, allocations: 46.7 kB / 0.5622 GB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.3829, allocations: 1.598 MB / 0.5638 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.3834, allocations: 0.9138 MB / 0.5647 GB, free: 0 / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.3835, allocations: 44.64 kB / 0.5647 GB, free: 15.98 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3835, allocations: 0 / 0.5647 GB, free: 15.98 MB / 394.7 MB Notification: Performance of Templates: time 0.02536/0.4089, allocations: 19.33 MB / 0.5836 GB, free: 1.082 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches