Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, 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.334/1.334, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0008285/0.0008282, allocations: 96.72 kB / 295.1 MB, free: 9.488 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.4288/0.4288, allocations: 44.32 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.00034, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3623, allocations: 61.91 MB / 0.5128 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003037/0.3654, allocations: 2.051 MB / 0.5148 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3668, allocations: 0.7277 MB / 0.5155 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.367, allocations: 3.594 kB / 0.5155 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3673, allocations: 42.2 kB / 0.5155 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.3677, allocations: 91.12 kB / 0.5156 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.368, allocations: 82.12 kB / 0.5157 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.3684, allocations: 334.5 kB / 0.516 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.3686, allocations: 79.5 kB / 0.5161 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.3689, allocations: 117.4 kB / 0.5162 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.3691, allocations: 137.6 kB / 0.5163 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.3692, allocations: 16.19 kB / 0.5163 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.3692, allocations: 14 kB / 0.5163 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.3693, allocations: 53.38 kB / 0.5164 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.3694, allocations: 162.7 kB / 0.5165 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.3697, allocations: 342.7 kB / 0.5169 GB, free: 35.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3697, allocations: 0 / 0.5169 GB, free: 35.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3697, allocations: 2.719 kB / 0.5169 GB, free: 35.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.3698, allocations: 0 / 0.5169 GB, free: 35.1 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001125/0.3709, allocations: 0.5648 MB / 0.5174 GB, free: 34.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.3709, allocations: 8.844 kB / 0.5174 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.3711, allocations: 31.38 kB / 0.5175 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.3715, allocations: 255.9 kB / 0.5177 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.3715, allocations: 22.25 kB / 0.5177 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.3716, allocations: 24.28 kB / 0.5178 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.3723, allocations: 254.6 kB / 0.518 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.3723, allocations: 0.5625 kB / 0.518 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.3723, allocations: 10.06 kB / 0.518 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3723, allocations: 5.719 kB / 0.518 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.373, allocations: 240.6 kB / 0.5182 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.3747, allocations: 0.8826 MB / 0.5191 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.3752, allocations: 303.6 kB / 0.5194 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.3755, allocations: 148.2 kB / 0.5195 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.3755, allocations: 7.922 kB / 0.5195 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.3756, allocations: 42.92 kB / 0.5196 GB, free: 33.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.3756, allocations: 5.406 kB / 0.5196 GB, free: 33.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004057/0.3796, allocations: 1.267 MB / 0.5208 GB, free: 32.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.3797, allocations: 58.22 kB / 0.5209 GB, free: 32.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3799, allocations: 215.8 kB / 0.5211 GB, free: 32.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3799, allocations: 32.77 kB / 0.5211 GB, free: 32.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.38, allocations: 162 kB / 0.5213 GB, free: 32.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.38, allocations: 104.1 kB / 0.5214 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.3801, allocations: 6.938 kB / 0.5214 GB, free: 32.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.3801, allocations: 332.4 kB / 0.5217 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3803, allocations: 102.9 kB / 0.5218 GB, free: 31.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.3805, allocations: 124.3 kB / 0.5219 GB, free: 31.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.3809, allocations: 242.8 kB / 0.5221 GB, free: 31.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.381, allocations: 0 / 0.5221 GB, free: 31.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001626/0.3826, allocations: 0.55 MB / 0.5227 GB, free: 31.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3826, allocations: 6 kB / 0.5227 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3826, allocations: 0 / 0.5227 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.3842, allocations: 318.2 kB / 0.523 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3844, allocations: 28.5 kB / 0.523 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005703/0.3901, allocations: 6.327 MB / 0.5292 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3903, allocations: 35.22 kB / 0.5292 GB, free: 25.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.3903, allocations: 13.23 kB / 0.5292 GB, free: 25.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.3905, allocations: 140.9 kB / 0.5294 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.3905, allocations: 23.19 kB / 0.5294 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.3921, allocations: 0.5605 MB / 0.5299 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3922, allocations: 10.09 kB / 0.53 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3922, allocations: 7.938 kB / 0.53 GB, free: 25.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3922, allocations: 0 / 0.53 GB, free: 25.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.3925, allocations: 349.8 kB / 0.5303 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3925, allocations: 3.281 kB / 0.5303 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3926, allocations: 20.38 kB / 0.5303 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.3941, allocations: 316.5 kB / 0.5306 GB, free: 24.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.3941, allocations: 4 kB / 0.5306 GB, free: 24.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005357/0.3995, allocations: 6.371 MB / 0.5368 GB, free: 18.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3995, allocations: 0 / 0.5368 GB, free: 18.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.4011, allocations: 0.6317 MB / 0.5375 GB, free: 18.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.4012, allocations: 105.1 kB / 0.5376 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.4012, allocations: 10.03 kB / 0.5376 GB, free: 18.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.4014, allocations: 10.34 kB / 0.5376 GB, free: 18.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4015, allocations: 36.7 kB / 0.5376 GB, free: 18.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.4015, allocations: 3.438 kB / 0.5376 GB, free: 18.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.4017, allocations: 163.8 kB / 0.5378 GB, free: 18.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4017, allocations: 2.781 kB / 0.5378 GB, free: 18.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005002/0.4022, allocations: 116 kB / 0.5379 GB, free: 18.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.4023, allocations: 102.1 kB / 0.538 GB, free: 18.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009371/0.4032, allocations: 0.7549 MB / 0.5387 GB, free: 17.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4033, allocations: 0 / 0.5387 GB, free: 17.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.4043, allocations: 0.7196 MB / 0.5394 GB, free: 17.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4046, allocations: 27.05 kB / 0.5395 GB, free: 17.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.4055, allocations: 0.672 MB / 0.5401 GB, free: 16.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.4057, allocations: 0.7678 MB / 0.5409 GB, free: 16.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.411e-05/0.4058, allocations: 19 kB / 0.5409 GB, free: 16.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.4059, allocations: 10.59 kB / 0.5409 GB, free: 16.01 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4059, allocations: 0 / 0.5409 GB, free: 16.01 MB / 378.7 MB Notification: Performance of Templates: time 0.01376/0.4196, allocations: 7.404 MB / 0.5481 GB, free: 15.47 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches