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.001176/0.001176, allocations: 111.6 kB / 17.04 MB, free: 5.812 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.001326/0.001326, allocations: 195 kB / 17.98 MB, free: 5.027 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.634/1.634, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2194/0.2194, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001692/0.001692, allocations: 67.42 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1509, allocations: 57.8 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004928/0.1559, allocations: 2.964 MB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1573, allocations: 0.772 MB / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1575, allocations: 4 kB / 445.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1577, allocations: 59.38 kB / 445.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1579, allocations: 103 kB / 445.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1582, allocations: 111.8 kB / 446 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.1585, allocations: 470.6 kB / 446.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.1588, allocations: 151.9 kB / 446.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.159, allocations: 195.3 kB / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.1592, allocations: 203.1 kB / 447 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.1593, allocations: 40 kB / 447 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.1593, allocations: 40 kB / 447.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.1594, allocations: 91.61 kB / 447.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1596, allocations: 211 kB / 447.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1599, allocations: 470.3 kB / 447.8 MB, free: 276 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1599, allocations: 0 / 447.8 MB, free: 276 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1599, allocations: 0 / 447.8 MB, free: 276 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1599, allocations: 0 / 447.8 MB, free: 276 kB / 318.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.001523/0.1615, allocations: 0.6942 MB / 448.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.1615, allocations: 15.89 kB / 448.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.1616, allocations: 44.38 kB / 448.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.1622, allocations: 291.3 kB / 448.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.1623, allocations: 29.38 kB / 448.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.1624, allocations: 44.31 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.1631, allocations: 346.8 kB / 449.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.1631, allocations: 0 / 449.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.1632, allocations: 20 kB / 449.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1632, allocations: 8 kB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006824/0.1639, allocations: 299.8 kB / 449.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.1665, allocations: 1.337 MB / 450.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.1672, allocations: 278.3 kB / 451.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.1675, allocations: 157.4 kB / 451.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.1676, allocations: 4.281 kB / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.095e-05/0.1676, allocations: 42.78 kB / 451.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.1677, allocations: 0 / 451.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009059/0.1686, allocations: 382.4 kB / 451.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.1686, allocations: 55.41 kB / 451.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.1689, allocations: 266.5 kB / 452.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.169, allocations: 37.7 kB / 452.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1691, allocations: 200 kB / 452.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.849e-05/0.1693, allocations: 114.3 kB / 452.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1694, allocations: 74.03 kB / 452.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1696, allocations: 342.8 kB / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.1698, allocations: 100.8 kB / 452.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.1701, allocations: 179.4 kB / 453.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.1706, allocations: 284.7 kB / 453.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1707, allocations: 0 / 453.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000641/0.1713, allocations: 378.1 kB / 453.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1713, allocations: 8 kB / 453.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1714, allocations: 0 / 453.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1714, allocations: 7.984 kB / 453.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.1719, allocations: 107.8 kB / 453.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.1719, allocations: 8.219 kB / 453.9 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.1722, allocations: 39.58 kB / 453.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.1722, allocations: 16 kB / 453.9 MB, free: 9.844 MB / 334.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.0002139/0.1724, allocations: 149.7 kB / 454.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.1725, allocations: 31.7 kB / 454.1 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.1732, allocations: 320.3 kB / 454.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1733, allocations: 8 kB / 454.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1733, allocations: 0 / 454.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1733, allocations: 0 / 454.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.1738, allocations: 417 kB / 454.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1739, allocations: 4 kB / 454.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.1743, allocations: 75.89 kB / 454.9 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1743, allocations: 3.984 kB / 454.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.1743, allocations: 11.94 kB / 454.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1743, allocations: 0 / 454.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1743, allocations: 3.984 kB / 454.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.1753, allocations: 0.5223 MB / 455.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.1754, allocations: 124.7 kB / 455.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.1755, allocations: 4 kB / 455.6 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.1757, allocations: 11.98 kB / 455.6 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.1758, allocations: 27.91 kB / 455.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1758, allocations: 12.06 kB / 455.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.176, allocations: 194 kB / 455.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.176, allocations: 3.938 kB / 455.8 MB, free: 7.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003474/0.1764, allocations: 83.84 kB / 455.9 MB, free: 7.762 MB / 334.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.000132/0.1765, allocations: 103.2 kB / 456 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005778/0.1771, allocations: 275.8 kB / 456.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1771, allocations: 0 / 456.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.1774, allocations: 139.8 kB / 456.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1777, allocations: 33.45 kB / 456.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.1791, allocations: 0.748 MB / 457.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1795, allocations: 0.7874 MB / 458 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.1797, allocations: 34.95 kB / 458 MB, free: 5.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.1798, allocations: 27.44 kB / 458 MB, free: 5.566 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1798, allocations: 0 / 458 MB, free: 5.566 MB / 334.1 MB Notification: Performance of Templates: time 0.00658/0.1864, allocations: 2.638 MB / 460.7 MB, free: 2.941 MB / 334.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches