Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009717/0.0009718, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 175.4 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 222.8 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4991/0.4991, allocations: 43.58 MB / 314.6 MB, free: 9.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005139/0.0005139, allocations: 20.22 kB / 384 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1487, allocations: 58.86 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003147/0.1519, allocations: 2.525 MB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1532, allocations: 0.7416 MB / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.1534, allocations: 7.938 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.1536, allocations: 43.62 kB / 446.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1538, allocations: 79.38 kB / 446.2 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1541, allocations: 87.83 kB / 446.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.1546, allocations: 426.5 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.1549, allocations: 114.6 kB / 446.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.1551, allocations: 159.4 kB / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1554, allocations: 175.2 kB / 447.2 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.1554, allocations: 20 kB / 447.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.207e-05/0.1555, allocations: 20 kB / 447.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.1556, allocations: 63.75 kB / 447.3 MB, free: 8.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.1557, allocations: 93.52 kB / 447.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.1561, allocations: 339 kB / 447.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1561, allocations: 7.875 kB / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1561, allocations: 0 / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1561, allocations: 0 / 447.7 MB, free: 8.352 MB / 382.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.001318/0.1574, allocations: 0.6472 MB / 448.3 MB, free: 7.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1575, allocations: 8.031 kB / 448.3 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.531e-05/0.1576, allocations: 47.53 kB / 448.4 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.158, allocations: 270.4 kB / 448.7 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.158, allocations: 25 kB / 448.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.1581, allocations: 43.95 kB / 448.7 MB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.1588, allocations: 342.5 kB / 449.1 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1588, allocations: 4 kB / 449.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.1588, allocations: 16 kB / 449.1 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.1588, allocations: 12 kB / 449.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006196/0.1595, allocations: 311.8 kB / 449.4 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1618, allocations: 1.349 MB / 450.7 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.1623, allocations: 276.9 kB / 451 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.1627, allocations: 165.3 kB / 451.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.1627, allocations: 12.27 kB / 451.2 MB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1627, allocations: 34.84 kB / 451.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.1627, allocations: 0 / 451.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008378/0.1636, allocations: 402.4 kB / 451.6 MB, free: 4.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1637, allocations: 59.34 kB / 451.7 MB, free: 4.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1639, allocations: 254.7 kB / 451.9 MB, free: 3.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.164, allocations: 33.7 kB / 452 MB, free: 3.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1641, allocations: 199.9 kB / 452.1 MB, free: 3.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/0.1642, allocations: 114.3 kB / 452.3 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.1642, allocations: 8 kB / 452.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1644, allocations: 346.8 kB / 452.6 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.1646, allocations: 104.8 kB / 452.7 MB, free: 3.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.1649, allocations: 179.5 kB / 452.9 MB, free: 2.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.1652, allocations: 129.5 kB / 453 MB, free: 2.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1652, allocations: 7.938 kB / 453 MB, free: 2.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006341/0.1659, allocations: 370.9 kB / 453.4 MB, free: 2.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1659, allocations: 12.22 kB / 453.4 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1659, allocations: 0 / 453.4 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1659, allocations: 4 kB / 453.4 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.1664, allocations: 111.8 kB / 453.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1664, allocations: 4 kB / 453.5 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1667, allocations: 47.52 kB / 453.6 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.1667, allocations: 12 kB / 453.6 MB, free: 2.188 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.1669, allocations: 157.8 kB / 453.7 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.167, allocations: 31.58 kB / 453.8 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006782/0.1677, allocations: 336.2 kB / 454.1 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1677, allocations: 4 kB / 454.1 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.1677, allocations: 4 kB / 454.1 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1677, allocations: 3.984 kB / 454.1 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.1683, allocations: 393.2 kB / 454.5 MB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1683, allocations: 4 kB / 454.5 MB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.1687, allocations: 83.88 kB / 454.6 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.1687, allocations: 4 kB / 454.6 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.1687, allocations: 7.953 kB / 454.6 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1687, allocations: 3.984 kB / 454.6 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1687, allocations: 4 kB / 454.6 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009198/0.1697, allocations: 0.5338 MB / 455.1 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.1698, allocations: 128.6 kB / 455.2 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.1699, allocations: 4 kB / 455.2 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1701, allocations: 19.94 kB / 455.3 MB, free: 400 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/0.1702, allocations: 23.95 kB / 455.3 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1702, allocations: 12 kB / 455.3 MB, free: 364 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1704, allocations: 193.9 kB / 455.5 MB, free: 168 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1705, allocations: 3.938 kB / 455.5 MB, free: 164 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.1708, allocations: 91.81 kB / 455.6 MB, free: 72 kB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2295/0.4003, allocations: 103.2 kB / 455.7 MB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007988/0.4012, allocations: 282.4 kB / 456 MB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4012, allocations: 2.781 kB / 456 MB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.4014, allocations: 137.1 kB / 456.1 MB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.4019, allocations: 28.42 kB / 456.1 MB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4033, allocations: 0.9423 MB / 457.1 MB, free: 46.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4035, allocations: 0.7869 MB / 457.9 MB, free: 45.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.4038, allocations: 34.17 kB / 457.9 MB, free: 45.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.4039, allocations: 28.05 kB / 457.9 MB, free: 45.53 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4039, allocations: 2.812 kB / 457.9 MB, free: 45.53 MB / 382.1 MB Notification: Performance of Templates: time 0.005571/0.4094, allocations: 2.364 MB / 460.3 MB, free: 45.39 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches