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.008734/0.008738, allocations: 103 kB / 15.88 MB, free: 6.316 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.001241/0.001241, allocations: 194 kB / 16.79 MB, free: 6.242 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.755/1.755, allocations: 205.1 MB / 222.6 MB, free: 4.727 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.3856/0.3856, allocations: 43.5 MB / 313.5 MB, free: 8.523 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.001511/0.001511, allocations: 75.89 kB / 382 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1475, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005081/0.1526, allocations: 3.018 MB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1542, allocations: 0.7607 MB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1544, allocations: 11.94 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1546, allocations: 35.7 kB / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.1548, allocations: 91.3 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1551, allocations: 99.84 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.1555, allocations: 450.5 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.1558, allocations: 140.4 kB / 444.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.156, allocations: 167.3 kB / 444.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1563, allocations: 199.1 kB / 444.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.1563, allocations: 27.94 kB / 444.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.1564, allocations: 28 kB / 444.8 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1565, allocations: 71.67 kB / 444.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.1567, allocations: 195 kB / 445.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.1571, allocations: 446.3 kB / 445.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1571, allocations: 0 / 445.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1571, allocations: 0 / 445.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1571, allocations: 4 kB / 445.5 MB, free: 9.094 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.001431/0.1586, allocations: 0.702 MB / 446.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1586, allocations: 8.031 kB / 446.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.1587, allocations: 44.38 kB / 446.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.159, allocations: 287.3 kB / 446.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.1591, allocations: 33.38 kB / 446.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.1591, allocations: 36.38 kB / 446.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.1598, allocations: 346.8 kB / 447 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1598, allocations: 0 / 447 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.1598, allocations: 16 kB / 447 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.1599, allocations: 8 kB / 447 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.1605, allocations: 303.8 kB / 447.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.1625, allocations: 1.341 MB / 448.6 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.1631, allocations: 276.9 kB / 448.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.1633, allocations: 165.3 kB / 449.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.1634, allocations: 4.281 kB / 449.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1634, allocations: 34.84 kB / 449.1 MB, free: 5.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.1634, allocations: 0 / 449.1 MB, free: 5.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.000816/0.1643, allocations: 386.3 kB / 449.5 MB, free: 4.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1643, allocations: 55.41 kB / 449.5 MB, free: 4.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.1646, allocations: 258.7 kB / 449.8 MB, free: 4.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1646, allocations: 33.7 kB / 449.8 MB, free: 4.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1647, allocations: 207.9 kB / 450 MB, free: 4.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.1648, allocations: 122.3 kB / 450.1 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.1649, allocations: 70.03 kB / 450.2 MB, free: 4.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1651, allocations: 334.8 kB / 450.5 MB, free: 3.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.1653, allocations: 112.8 kB / 450.6 MB, free: 3.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.1656, allocations: 175.5 kB / 450.8 MB, free: 3.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.1661, allocations: 292.6 kB / 451.1 MB, free: 3.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1661, allocations: 0 / 451.1 MB, free: 3.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006267/0.1667, allocations: 369.8 kB / 451.5 MB, free: 2.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1667, allocations: 16.16 kB / 451.5 MB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1668, allocations: 0 / 451.5 MB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1668, allocations: 4 kB / 451.5 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.1673, allocations: 107.8 kB / 451.6 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1673, allocations: 4 kB / 451.6 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.1676, allocations: 43.61 kB / 451.6 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.1676, allocations: 15.98 kB / 451.6 MB, free: 2.656 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.1677, allocations: 149.7 kB / 451.8 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.1678, allocations: 35.62 kB / 451.8 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006295/0.1684, allocations: 320.3 kB / 452.1 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1685, allocations: 4 kB / 452.1 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1685, allocations: 0 / 452.1 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1685, allocations: 3.984 kB / 452.1 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.1689, allocations: 405.1 kB / 452.5 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1689, allocations: 4 kB / 452.5 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.1694, allocations: 87.88 kB / 452.6 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1694, allocations: 0 / 452.6 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.1694, allocations: 8 kB / 452.6 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1694, allocations: 0 / 452.6 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1694, allocations: 0 / 452.6 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.1702, allocations: 0.5145 MB / 453.2 MB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1704, allocations: 132.6 kB / 453.3 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.1704, allocations: 8 kB / 453.3 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.1706, allocations: 15.98 kB / 453.3 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.1707, allocations: 23.91 kB / 453.3 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.1707, allocations: 8 kB / 453.3 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.1709, allocations: 190 kB / 453.5 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1709, allocations: 0 / 453.5 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000359/0.1713, allocations: 95.78 kB / 453.6 MB, free: 0.5859 MB / 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 (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.0001092/0.1714, allocations: 111.1 kB / 453.7 MB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.172, allocations: 271.6 kB / 454 MB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.172, allocations: 0 / 454 MB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.1722, allocations: 135.8 kB / 454.1 MB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1727, allocations: 32.92 kB / 454.2 MB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2113/0.384, allocations: 0.8874 MB / 455 MB, free: 49.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3843, allocations: 0.7899 MB / 455.8 MB, free: 48.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002272/0.3846, allocations: 34.5 kB / 455.9 MB, free: 48.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.3847, allocations: 28.61 kB / 455.9 MB, free: 48.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3847, allocations: 0 / 455.9 MB, free: 48.73 MB / 382.1 MB Notification: Performance of Templates: time 0.00572/0.3904, allocations: 2.476 MB / 458.4 MB, free: 48.62 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