Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.7 MB / 243.9 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008143/0.0008147, allocations: 96.95 kB / 295.1 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3508/0.3508, allocations: 44.32 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 12 kB / 463.1 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3233, allocations: 61.9 MB / 0.5127 GB, free: 38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00427/0.3276, allocations: 4.557 MB / 0.5172 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.3307, allocations: 2.042 MB / 0.5192 GB, free: 32.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.331, allocations: 18.81 kB / 0.5192 GB, free: 32.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.3316, allocations: 249.6 kB / 0.5194 GB, free: 32.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006573/0.3323, allocations: 257.5 kB / 0.5197 GB, free: 32.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3338, allocations: 1.232 MB / 0.5209 GB, free: 31.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008773/0.3347, allocations: 0.7562 MB / 0.5216 GB, free: 31.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.337, allocations: 2.446 MB / 0.524 GB, free: 29.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.3375, allocations: 278.1 kB / 0.5243 GB, free: 28.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.3379, allocations: 410.7 kB / 0.5247 GB, free: 28.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.338, allocations: 38.84 kB / 0.5247 GB, free: 28.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003811/0.3384, allocations: 151.7 kB / 0.5249 GB, free: 28.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.3385, allocations: 139 kB / 0.525 GB, free: 28.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.3387, allocations: 403.9 kB / 0.5254 GB, free: 28.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007804/0.3395, allocations: 1.094 MB / 0.5264 GB, free: 27.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3395, allocations: 3.938 kB / 0.5264 GB, free: 27.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3396, allocations: 0 / 0.5264 GB, free: 27.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3396, allocations: 0 / 0.5264 GB, free: 27.95 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.002555/0.3421, allocations: 1.206 MB / 0.5276 GB, free: 27.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3422, allocations: 8.969 kB / 0.5276 GB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.3434, allocations: 229.9 kB / 0.5279 GB, free: 27.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3436, allocations: 258.5 kB / 0.5281 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3437, allocations: 76.69 kB / 0.5282 GB, free: 26.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3439, allocations: 101.6 kB / 0.5283 GB, free: 26.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.3451, allocations: 0.9303 MB / 0.5292 GB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.3452, allocations: 2.75 kB / 0.5292 GB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.3453, allocations: 44.03 kB / 0.5292 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.3453, allocations: 25.25 kB / 0.5292 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.3463, allocations: 0.7149 MB / 0.5299 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.35, allocations: 3.962 MB / 0.5338 GB, free: 23.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.3517, allocations: 3.368 MB / 0.5371 GB, free: 19.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.352, allocations: 292.7 kB / 0.5374 GB, free: 19.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.548e-05/0.3521, allocations: 95.28 kB / 0.5375 GB, free: 19.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3522, allocations: 47.69 kB / 0.5375 GB, free: 19.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.765e-06/0.3522, allocations: 4 kB / 0.5375 GB, free: 19.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002228/0.3544, allocations: 1.344 MB / 0.5388 GB, free: 18.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3544, allocations: 134 kB / 0.539 GB, free: 18.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.3548, allocations: 315.1 kB / 0.5393 GB, free: 18.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3548, allocations: 36.55 kB / 0.5393 GB, free: 18.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3549, allocations: 404.5 kB / 0.5397 GB, free: 17.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3551, allocations: 223.4 kB / 0.5399 GB, free: 17.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.3551, allocations: 14.66 kB / 0.5399 GB, free: 17.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.3552, allocations: 360 kB / 0.5403 GB, free: 17.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.3555, allocations: 197.1 kB / 0.5404 GB, free: 17.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.3558, allocations: 399.7 kB / 0.5408 GB, free: 16.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/0.3565, allocations: 0.6199 MB / 0.5414 GB, free: 16.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3565, allocations: 0 / 0.5414 GB, free: 16.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001147/0.3576, allocations: 0.8802 MB / 0.5423 GB, free: 16.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3577, allocations: 13 kB / 0.5423 GB, free: 16.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3577, allocations: 5.75 kB / 0.5423 GB, free: 16.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.3582, allocations: 225.7 kB / 0.5425 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.3587, allocations: 141.3 kB / 0.5427 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.3623, allocations: 6.24 MB / 0.5488 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.3627, allocations: 83.91 kB / 0.5488 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.3628, allocations: 37 kB / 0.5489 GB, free: 10.07 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002993/0.3631, allocations: 225.8 kB / 0.5491 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3632, allocations: 42.25 kB / 0.5491 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009798/0.3642, allocations: 0.679 MB / 0.5498 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3642, allocations: 10 kB / 0.5498 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3642, allocations: 6.031 kB / 0.5498 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3642, allocations: 10.38 kB / 0.5498 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.3662, allocations: 1.558 MB / 0.5513 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3662, allocations: 3.031 kB / 0.5513 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3664, allocations: 68.16 kB / 0.5514 GB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.3669, allocations: 215.6 kB / 0.5516 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.3669, allocations: 11.06 kB / 0.5516 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.3707, allocations: 6.236 MB / 0.5577 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3707, allocations: 5.062 kB / 0.5577 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.3721, allocations: 1.176 MB / 0.5589 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3723, allocations: 125.7 kB / 0.559 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.3723, allocations: 12.12 kB / 0.559 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.3726, allocations: 21.5 kB / 0.559 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3728, allocations: 57.45 kB / 0.5591 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.3728, allocations: 17.75 kB / 0.5591 GB, free: 1.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.373, allocations: 213.1 kB / 0.5593 GB, free: 1.633 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.373, allocations: 0 / 0.5593 GB, free: 1.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001106/0.3742, allocations: 272.5 kB / 0.5595 GB, free: 1.562 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002413/0.3744, allocations: 147.5 kB / 0.5597 GB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.3758, allocations: 1.08 MB / 0.5607 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3758, allocations: 0 / 0.5607 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.3765, allocations: 0.7781 MB / 0.5615 GB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.3772, allocations: 41.3 kB / 0.5615 GB, free: 136 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3795, allocations: 1.648 MB / 0.5632 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.38, allocations: 0.91 MB / 0.564 GB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.3803, allocations: 67.8 kB / 0.5641 GB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.3804, allocations: 36.44 kB / 0.5641 GB, free: 14.27 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3804, allocations: 0 / 0.5641 GB, free: 14.27 MB / 394.7 MB Notification: Performance of Templates: time 0.01429/0.3947, allocations: 6.333 MB / 0.5703 GB, free: 13.59 MB / 394.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/jenkins/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