Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 108.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2528/0.2528, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4277, allocations: 60.82 MB / 0.5196 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003918/0.4317, allocations: 2.99 MB / 0.5225 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.433, allocations: 0.7319 MB / 0.5232 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.4332, allocations: 9.594 kB / 0.5232 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.4334, allocations: 56.03 kB / 0.5233 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.4336, allocations: 102.3 kB / 0.5234 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.434, allocations: 122.6 kB / 0.5235 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.4345, allocations: 469 kB / 0.5239 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.4348, allocations: 155.4 kB / 0.5241 GB, free: 460 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.435, allocations: 182.8 kB / 0.5243 GB, free: 376 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.4353, allocations: 203.3 kB / 0.5244 GB, free: 276 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.598e-05/0.4354, allocations: 44.22 kB / 0.5245 GB, free: 272 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.748e-05/0.4355, allocations: 38.12 kB / 0.5245 GB, free: 272 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.4356, allocations: 98.08 kB / 0.5246 GB, free: 204 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.4358, allocations: 200.4 kB / 0.5248 GB, free: 80 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.4364, allocations: 466.3 kB / 0.5253 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4364, allocations: 0 / 0.5253 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.409e-06/0.4364, allocations: 0 / 0.5253 GB, free: 15.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.4364, allocations: 3.938 kB / 0.5253 GB, free: 15.89 MB / 398.1 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.001632/0.4381, allocations: 0.7049 MB / 0.5259 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.4381, allocations: 9.234 kB / 0.526 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.4383, allocations: 41.84 kB / 0.526 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.4389, allocations: 295 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.4389, allocations: 29.31 kB / 0.5263 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.439, allocations: 36.84 kB / 0.5263 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008248/0.4398, allocations: 355.2 kB / 0.5267 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.4399, allocations: 0 / 0.5267 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.4399, allocations: 16.25 kB / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.4399, allocations: 8.625 kB / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.4407, allocations: 304.9 kB / 0.527 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.4431, allocations: 1.331 MB / 0.5283 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.4436, allocations: 280.1 kB / 0.5286 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.4439, allocations: 159 kB / 0.5287 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.444, allocations: 7.062 kB / 0.5287 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.444, allocations: 41.47 kB / 0.5288 GB, free: 13.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.444, allocations: 4 kB / 0.5288 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008388/0.4448, allocations: 372.7 kB / 0.5291 GB, free: 13.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.4449, allocations: 59.06 kB / 0.5292 GB, free: 13.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.4452, allocations: 259.9 kB / 0.5294 GB, free: 12.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.4452, allocations: 31.92 kB / 0.5295 GB, free: 12.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4454, allocations: 209.2 kB / 0.5296 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.4455, allocations: 116.1 kB / 0.5298 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.4456, allocations: 76.06 kB / 0.5298 GB, free: 12.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4457, allocations: 337.2 kB / 0.5302 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.446, allocations: 103.1 kB / 0.5303 GB, free: 12.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.4463, allocations: 177.6 kB / 0.5304 GB, free: 12.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.4469, allocations: 290.8 kB / 0.5307 GB, free: 11.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4469, allocations: 0 / 0.5307 GB, free: 11.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007961/0.4477, allocations: 370.1 kB / 0.5311 GB, free: 11.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.4478, allocations: 5.688 kB / 0.5311 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4478, allocations: 2.094 kB / 0.5311 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.4478, allocations: 8 kB / 0.5311 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.4483, allocations: 103.5 kB / 0.5312 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.4484, allocations: 7.406 kB / 0.5312 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.4486, allocations: 44.14 kB / 0.5312 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.4487, allocations: 14.19 kB / 0.5312 GB, free: 11.63 MB / 398.1 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.0001595/0.4488, allocations: 148.5 kB / 0.5314 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.4489, allocations: 32.69 kB / 0.5314 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.4496, allocations: 331.4 kB / 0.5317 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4496, allocations: 3.984 kB / 0.5317 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4496, allocations: 0 / 0.5317 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.4498, allocations: 128.8 kB / 0.5318 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.4498, allocations: 5.406 kB / 0.5318 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.45, allocations: 12.64 kB / 0.5319 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.4501, allocations: 22.66 kB / 0.5319 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008502/0.451, allocations: 406.3 kB / 0.5323 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009409/0.4519, allocations: 0.5866 MB / 0.5328 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002349/0.4522, allocations: 123.1 kB / 0.533 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.4524, allocations: 190.3 kB / 0.5331 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.4524, allocations: 0 / 0.5331 GB, free: 10.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007099/0.4531, allocations: 252.3 kB / 0.5334 GB, free: 10.12 MB / 398.1 MB Notification: Performance of SimCode: time 0.001339/0.4544, allocations: 1.116 MB / 0.5345 GB, free: 9.176 MB / 398.1 MB Notification: Performance of Templates: time 0.007548/0.462, allocations: 3.686 MB / 0.5381 GB, free: 7.336 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches