Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 99.05 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5326/0.5326, allocations: 44.82 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4309, allocations: 62.02 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003968/0.4349, allocations: 3.046 MB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.436, allocations: 0.764 MB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.4362, allocations: 17.5 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.4363, allocations: 42.78 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.4365, allocations: 80.28 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.4368, allocations: 107.1 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.4371, allocations: 445.6 kB / 0.5195 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.4373, allocations: 142.4 kB / 0.5197 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.4376, allocations: 172.8 kB / 0.5198 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.4378, allocations: 198.2 kB / 0.52 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.4378, allocations: 26 kB / 0.5201 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.4379, allocations: 30.12 kB / 0.5201 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.438, allocations: 79.33 kB / 0.5202 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.4381, allocations: 192 kB / 0.5203 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.4384, allocations: 447.8 kB / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4385, allocations: 0 / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4385, allocations: 3.375 kB / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4385, allocations: 2.938 kB / 0.5208 GB, free: 34.12 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001185/0.4397, allocations: 0.7038 MB / 0.5215 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4397, allocations: 11.53 kB / 0.5215 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.4399, allocations: 56.27 kB / 0.5215 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.4402, allocations: 287.9 kB / 0.5218 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.4403, allocations: 29.59 kB / 0.5218 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.4403, allocations: 40.41 kB / 0.5219 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.4408, allocations: 348.2 kB / 0.5222 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4409, allocations: 0 / 0.5222 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.4409, allocations: 14.88 kB / 0.5222 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4409, allocations: 16.47 kB / 0.5222 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.4415, allocations: 305.6 kB / 0.5225 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.4433, allocations: 1.333 MB / 0.5238 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.4438, allocations: 278.6 kB / 0.5241 GB, free: 31.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.444, allocations: 161 kB / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.4441, allocations: 7.312 kB / 0.5242 GB, free: 31.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.4441, allocations: 33.69 kB / 0.5243 GB, free: 31.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.383e-06/0.4441, allocations: 0 / 0.5243 GB, free: 31.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007323/0.4448, allocations: 378 kB / 0.5246 GB, free: 31.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.4449, allocations: 61.88 kB / 0.5247 GB, free: 31.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.4451, allocations: 267.6 kB / 0.525 GB, free: 31.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4451, allocations: 29.7 kB / 0.525 GB, free: 31.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.4452, allocations: 206 kB / 0.5252 GB, free: 31.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.4453, allocations: 116.7 kB / 0.5253 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.506e-05/0.4454, allocations: 69.16 kB / 0.5254 GB, free: 31.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.4454, allocations: 341.3 kB / 0.5257 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.4456, allocations: 100.3 kB / 0.5258 GB, free: 30.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.4459, allocations: 178.2 kB / 0.5259 GB, free: 30.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.4463, allocations: 297 kB / 0.5262 GB, free: 30.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4463, allocations: 0 / 0.5262 GB, free: 30.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006461/0.447, allocations: 376.8 kB / 0.5266 GB, free: 30.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.447, allocations: 5.094 kB / 0.5266 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.447, allocations: 3.094 kB / 0.5266 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4471, allocations: 2.688 kB / 0.5266 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.4475, allocations: 98.92 kB / 0.5267 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4475, allocations: 5.781 kB / 0.5267 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.4478, allocations: 45.72 kB / 0.5267 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.4478, allocations: 14.2 kB / 0.5268 GB, free: 30.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.448, allocations: 160.2 kB / 0.5269 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.448, allocations: 29.38 kB / 0.5269 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005803/0.4486, allocations: 328.4 kB / 0.5273 GB, free: 30 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4486, allocations: 5.031 kB / 0.5273 GB, free: 30 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4486, allocations: 4 kB / 0.5273 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4486, allocations: 7.312 kB / 0.5273 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.449, allocations: 396.9 kB / 0.5276 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.449, allocations: 6.875 kB / 0.5277 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.4494, allocations: 85.05 kB / 0.5277 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4494, allocations: 0 / 0.5277 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4494, allocations: 6.875 kB / 0.5277 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4494, allocations: 2.938 kB / 0.5277 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4494, allocations: 0 / 0.5277 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.4514, allocations: 1.718 MB / 0.5294 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.4515, allocations: 126.7 kB / 0.5295 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.4515, allocations: 14.17 kB / 0.5296 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.4517, allocations: 9.781 kB / 0.5296 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.4518, allocations: 22.67 kB / 0.5296 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4518, allocations: 9.656 kB / 0.5296 GB, free: 28.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.452, allocations: 195.5 kB / 0.5298 GB, free: 28.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.452, allocations: 0 / 0.5298 GB, free: 28.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004197/0.4524, allocations: 110.4 kB / 0.5299 GB, free: 28.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.4525, allocations: 97.28 kB / 0.53 GB, free: 27.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.453, allocations: 281.5 kB / 0.5302 GB, free: 27.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.453, allocations: 448 / 0.5302 GB, free: 27.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.4533, allocations: 143 kB / 0.5304 GB, free: 27.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.4537, allocations: 31.73 kB / 0.5304 GB, free: 27.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.4551, allocations: 1.119 MB / 0.5315 GB, free: 27.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.4553, allocations: 0.7985 MB / 0.5323 GB, free: 26.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.4555, allocations: 32.86 kB / 0.5323 GB, free: 26.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.4556, allocations: 28.48 kB / 0.5323 GB, free: 26.32 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4556, allocations: 0 / 0.5323 GB, free: 26.32 MB / 378.7 MB Notification: Performance of Templates: time 0.005821/0.4615, allocations: 2.639 MB / 0.5349 GB, free: 26.11 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches