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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.257/0.257, allocations: 46.1 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 80.67 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.141, allocations: 62.44 MB / 479.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004933/0.146, allocations: 3.054 MB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1476, allocations: 0.7634 MB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.1479, allocations: 4 kB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.1482, allocations: 43.62 kB / 483.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1484, allocations: 83.31 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.1488, allocations: 103.9 kB / 483.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.1493, allocations: 474.6 kB / 484 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.1496, allocations: 152.2 kB / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.1499, allocations: 187.4 kB / 484.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1502, allocations: 207.1 kB / 484.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.807e-05/0.1502, allocations: 43.94 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.521e-05/0.1503, allocations: 40 kB / 484.6 MB, free: 432 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.1504, allocations: 95.67 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.1506, allocations: 199 kB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.1511, allocations: 470.3 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1511, allocations: 0 / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1511, allocations: 0 / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1511, allocations: 0 / 485.4 MB, free: 15.67 MB / 366.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.001441/0.1526, allocations: 0.708 MB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1526, allocations: 13.11 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.1529, allocations: 56.45 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.1532, allocations: 287.5 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.1533, allocations: 29.38 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.28e-05/0.1534, allocations: 40.36 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.154, allocations: 342.8 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.154, allocations: 0 / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.154, allocations: 16 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1541, allocations: 12 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.1547, allocations: 307.8 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.1569, allocations: 1.341 MB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.1575, allocations: 282.6 kB / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.1578, allocations: 161.4 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1579, allocations: 4.281 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1579, allocations: 42.78 kB / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/0.1579, allocations: 0 / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008367/0.1588, allocations: 379.2 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1588, allocations: 63.34 kB / 489.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.1591, allocations: 262.7 kB / 489.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1591, allocations: 29.7 kB / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.1593, allocations: 199.9 kB / 489.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1594, allocations: 122.3 kB / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1595, allocations: 74.03 kB / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1597, allocations: 338.8 kB / 490.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.1599, allocations: 108.8 kB / 490.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.1602, allocations: 171.4 kB / 490.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.1608, allocations: 284.7 kB / 491 MB, free: 9.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1608, allocations: 4 kB / 491 MB, free: 9.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007174/0.1615, allocations: 369.9 kB / 491.3 MB, free: 9.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1615, allocations: 4 kB / 491.3 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1616, allocations: 4 kB / 491.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.1616, allocations: 4 kB / 491.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.1621, allocations: 103.8 kB / 491.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1621, allocations: 4 kB / 491.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.1624, allocations: 47.73 kB / 491.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.1625, allocations: 16 kB / 491.5 MB, free: 9.219 MB / 366.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.0001913/0.1627, allocations: 153.7 kB / 491.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.1627, allocations: 27.62 kB / 491.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/0.1635, allocations: 332 kB / 492 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1635, allocations: 0 / 492 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.1635, allocations: 11.94 kB / 492 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.1635, allocations: 3.984 kB / 492 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.1641, allocations: 401.1 kB / 492.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1641, allocations: 0 / 492.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.1645, allocations: 79.88 kB / 492.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1645, allocations: 4 kB / 492.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.1645, allocations: 12 kB / 492.5 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1645, allocations: 4 kB / 492.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1645, allocations: 3.984 kB / 492.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.1654, allocations: 0.5104 MB / 493 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.1656, allocations: 124.7 kB / 493.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.1656, allocations: 7.984 kB / 493.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1659, allocations: 19.98 kB / 493.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.166, allocations: 15.97 kB / 493.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.166, allocations: 16.06 kB / 493.2 MB, free: 7.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002158/0.1662, allocations: 190 kB / 493.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.1662, allocations: 0 / 493.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.1666, allocations: 99.69 kB / 493.5 MB, free: 7.129 MB / 366.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 (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.0001359/0.1667, allocations: 99.19 kB / 493.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006396/0.1674, allocations: 292.2 kB / 493.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1674, allocations: 0 / 493.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.1676, allocations: 144.3 kB / 494 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.1681, allocations: 32.5 kB / 494 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1696, allocations: 0.9001 MB / 494.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.1702, allocations: 0.7874 MB / 495.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.1704, allocations: 34.95 kB / 495.8 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1705, allocations: 31.42 kB / 495.8 MB, free: 4.762 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1705, allocations: 0 / 495.8 MB, free: 4.762 MB / 366.1 MB Notification: Performance of Templates: time 0.006313/0.1769, allocations: 2.597 MB / 498.4 MB, free: 2.191 MB / 366.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches