Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000825/0.000825, allocations: 98.78 kB / 299.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3116/0.3116, allocations: 45 MB / 397 MB, free: 31.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002684, allocations: 8 kB / 470.8 MB, free: 7.137 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3069, allocations: 63.1 MB / 0.5214 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.003677/0.3106, allocations: 4.571 MB / 0.5258 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.3128, allocations: 2.412 MB / 0.5282 GB, free: 32.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.313, allocations: 17.06 kB / 0.5282 GB, free: 32.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.3135, allocations: 251.6 kB / 0.5284 GB, free: 32.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006723/0.3142, allocations: 255.3 kB / 0.5287 GB, free: 32.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3152, allocations: 0.8589 MB / 0.5295 GB, free: 31.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.3158, allocations: 0.7545 MB / 0.5303 GB, free: 31.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.318, allocations: 2.445 MB / 0.5327 GB, free: 29.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.3183, allocations: 287.5 kB / 0.5329 GB, free: 29.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.3188, allocations: 410.8 kB / 0.5333 GB, free: 28.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.3188, allocations: 38.25 kB / 0.5334 GB, free: 28.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.3192, allocations: 160.2 kB / 0.5335 GB, free: 28.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.3193, allocations: 137.1 kB / 0.5336 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.3196, allocations: 403.8 kB / 0.534 GB, free: 28.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.3205, allocations: 1.11 MB / 0.5351 GB, free: 28.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3205, allocations: 0 / 0.5351 GB, free: 28.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3205, allocations: 0 / 0.5351 GB, free: 28.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3206, allocations: 0 / 0.5351 GB, free: 28.16 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.00261/0.3232, allocations: 1.204 MB / 0.5363 GB, free: 27.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3232, allocations: 8.844 kB / 0.5363 GB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.3247, allocations: 244 kB / 0.5365 GB, free: 27.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.3248, allocations: 260.8 kB / 0.5368 GB, free: 27.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.325, allocations: 82.52 kB / 0.5369 GB, free: 27.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.3251, allocations: 102.9 kB / 0.537 GB, free: 27.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.3263, allocations: 0.93 MB / 0.5379 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.3264, allocations: 3.328 kB / 0.5379 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.3264, allocations: 44.69 kB / 0.5379 GB, free: 26.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.3265, allocations: 26.16 kB / 0.5379 GB, free: 26.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3275, allocations: 0.7212 MB / 0.5386 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/0.3317, allocations: 4.108 MB / 0.5426 GB, free: 23.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.3335, allocations: 3.369 MB / 0.5459 GB, free: 19.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.3339, allocations: 293.5 kB / 0.5462 GB, free: 19.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.334, allocations: 177.9 kB / 0.5464 GB, free: 19.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.334, allocations: 43.02 kB / 0.5464 GB, free: 19.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.745e-06/0.334, allocations: 0 / 0.5464 GB, free: 19.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.00249/0.3365, allocations: 1.342 MB / 0.5477 GB, free: 18.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.3366, allocations: 136.8 kB / 0.5479 GB, free: 18.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.3369, allocations: 315.3 kB / 0.5482 GB, free: 18.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.337, allocations: 40.05 kB / 0.5482 GB, free: 18.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3372, allocations: 401 kB / 0.5486 GB, free: 17.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3373, allocations: 229.8 kB / 0.5488 GB, free: 17.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.3373, allocations: 15.94 kB / 0.5488 GB, free: 17.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.3374, allocations: 358.3 kB / 0.5492 GB, free: 17.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.3377, allocations: 192.5 kB / 0.5494 GB, free: 17.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.3382, allocations: 406.1 kB / 0.5497 GB, free: 16.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.3389, allocations: 0.6165 MB / 0.5503 GB, free: 16.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3389, allocations: 2.156 kB / 0.5503 GB, free: 16.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001338/0.3402, allocations: 0.8828 MB / 0.5512 GB, free: 16.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3403, allocations: 8.406 kB / 0.5512 GB, free: 16.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3403, allocations: 5.531 kB / 0.5512 GB, free: 16.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.3409, allocations: 219.2 kB / 0.5514 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.3414, allocations: 140.3 kB / 0.5516 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/0.3452, allocations: 6.223 MB / 0.5576 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.3456, allocations: 95.25 kB / 0.5577 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.3457, allocations: 35.69 kB / 0.5578 GB, free: 10.01 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.0002477/0.3459, allocations: 224.2 kB / 0.558 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.346, allocations: 48.58 kB / 0.558 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.3471, allocations: 0.6806 MB / 0.5587 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3472, allocations: 8.25 kB / 0.5587 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3472, allocations: 4.125 kB / 0.5587 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3472, allocations: 8.5 kB / 0.5587 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.3493, allocations: 1.569 MB / 0.5602 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3494, allocations: 1.531 kB / 0.5602 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.3496, allocations: 67.81 kB / 0.5603 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.3501, allocations: 212 kB / 0.5605 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.3501, allocations: 13.05 kB / 0.5605 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.3541, allocations: 6.227 MB / 0.5666 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3541, allocations: 1.25 kB / 0.5666 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.3556, allocations: 1.187 MB / 0.5678 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.3557, allocations: 121.2 kB / 0.5679 GB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.035e-05/0.3558, allocations: 17.05 kB / 0.5679 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.3561, allocations: 18.5 kB / 0.5679 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3562, allocations: 56.69 kB / 0.568 GB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.3562, allocations: 17.28 kB / 0.568 GB, free: 1.688 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.3564, allocations: 215.8 kB / 0.5682 GB, free: 1.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3564, allocations: 0 / 0.5682 GB, free: 1.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009345/0.3574, allocations: 279.3 kB / 0.5685 GB, free: 1.488 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.0001994/0.3576, allocations: 145.2 kB / 0.5686 GB, free: 1.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.3589, allocations: 1.079 MB / 0.5696 GB, free: 0.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3589, allocations: 0 / 0.5696 GB, free: 0.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.3596, allocations: 0.7783 MB / 0.5704 GB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.3602, allocations: 42.97 kB / 0.5704 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.3624, allocations: 1.658 MB / 0.5721 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.363, allocations: 0.9127 MB / 0.573 GB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.3633, allocations: 67.66 kB / 0.573 GB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.3634, allocations: 31.84 kB / 0.5731 GB, free: 13.87 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3634, allocations: 1.062 kB / 0.5731 GB, free: 13.87 MB / 394.7 MB Notification: Performance of Templates: time 0.0124/0.3758, allocations: 6.382 MB / 0.5793 GB, free: 8.289 MB / 394.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