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.001828/0.001828, allocations: 111.4 kB / 16.41 MB, free: 6.445 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.002421/0.002421, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.753/1.753, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.256/0.256, allocations: 43.52 MB / 314.1 MB, free: 480 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.001467/0.001468, allocations: 67.91 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.148, allocations: 57.78 MB / 499.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005509/0.1535, allocations: 2.974 MB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1555, allocations: 0.7682 MB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.156, allocations: 8 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1563, allocations: 59.38 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.1568, allocations: 99.06 kB / 0.4917 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.1572, allocations: 115.8 kB / 0.4918 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.1577, allocations: 474.5 kB / 0.4922 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.1581, allocations: 156 kB / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.1583, allocations: 187.3 kB / 0.4926 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.1587, allocations: 203.1 kB / 0.4928 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.1587, allocations: 40 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.701e-05/0.1588, allocations: 44 kB / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1589, allocations: 91.61 kB / 0.4929 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.1592, allocations: 207 kB / 0.4931 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.1597, allocations: 466 kB / 0.4936 GB, free: 5.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.1598, allocations: 4 kB / 0.4936 GB, free: 5.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1598, allocations: 0 / 0.4936 GB, free: 5.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.1598, allocations: 0 / 0.4936 GB, free: 5.941 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.001834/0.1616, allocations: 0.7132 MB / 0.4943 GB, free: 5.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.1617, allocations: 15.89 kB / 0.4943 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1618, allocations: 44.66 kB / 0.4943 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.1623, allocations: 291.5 kB / 0.4946 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1624, allocations: 29.38 kB / 0.4946 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.1625, allocations: 44.31 kB / 0.4947 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/0.1632, allocations: 346.8 kB / 0.495 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1632, allocations: 0 / 0.495 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.1633, allocations: 16 kB / 0.495 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1633, allocations: 8 kB / 0.495 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/0.164, allocations: 299.8 kB / 0.4953 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.1668, allocations: 1.341 MB / 0.4966 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.1674, allocations: 280.9 kB / 0.4969 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.1677, allocations: 161.3 kB / 0.4971 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.1678, allocations: 8.219 kB / 0.4971 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.1679, allocations: 34.84 kB / 0.4971 GB, free: 2.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.195e-06/0.1679, allocations: 0 / 0.4971 GB, free: 2.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001008/0.169, allocations: 386.6 kB / 0.4975 GB, free: 1.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.1691, allocations: 55.41 kB / 0.4975 GB, free: 1.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.1695, allocations: 266.7 kB / 0.4978 GB, free: 1.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1695, allocations: 29.7 kB / 0.4978 GB, free: 1.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1697, allocations: 204.4 kB / 0.498 GB, free: 1.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.1698, allocations: 122.9 kB / 0.4981 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.17, allocations: 74.12 kB / 0.4982 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1702, allocations: 342.8 kB / 0.4985 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.1705, allocations: 100.8 kB / 0.4986 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.1708, allocations: 175.4 kB / 0.4988 GB, free: 352 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.1714, allocations: 288.7 kB / 0.499 GB, free: 40 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1714, allocations: 3.938 kB / 0.499 GB, free: 36 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007319/0.1721, allocations: 370.4 kB / 0.4994 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.1721, allocations: 8 kB / 0.4994 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1722, allocations: 3.938 kB / 0.4994 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.1722, allocations: 4.219 kB / 0.4994 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.1727, allocations: 115.8 kB / 0.4995 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1727, allocations: 4 kB / 0.4995 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.173, allocations: 43.66 kB / 0.4996 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.1731, allocations: 12 kB / 0.4996 GB, free: 15.48 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.0001777/0.1733, allocations: 153.7 kB / 0.4997 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.1733, allocations: 31.81 kB / 0.4998 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006795/0.174, allocations: 332.2 kB / 0.5001 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.174, allocations: 4 kB / 0.5001 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.174, allocations: 0 / 0.5001 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.1741, allocations: 0 / 0.5001 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.1746, allocations: 405.1 kB / 0.5005 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1746, allocations: 0 / 0.5005 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.175, allocations: 79.89 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.175, allocations: 3.984 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.1751, allocations: 15.94 kB / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1751, allocations: 4 kB / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1751, allocations: 0 / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.1761, allocations: 0.5146 MB / 0.5011 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.1764, allocations: 128.8 kB / 0.5012 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.1765, allocations: 8 kB / 0.5012 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1767, allocations: 16.05 kB / 0.5012 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.1768, allocations: 19.97 kB / 0.5012 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.1769, allocations: 12 kB / 0.5012 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.1771, allocations: 193.9 kB / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1771, allocations: 0 / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.1776, allocations: 87.89 kB / 0.5015 GB, free: 13.4 MB / 398.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.0001514/0.1777, allocations: 103.2 kB / 0.5016 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007233/0.1784, allocations: 279.5 kB / 0.5019 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1785, allocations: 0 / 0.5019 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.1788, allocations: 139.8 kB / 0.502 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.1792, allocations: 27.16 kB / 0.502 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.1808, allocations: 0.7667 MB / 0.5028 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.1813, allocations: 0.7835 MB / 0.5036 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.1814, allocations: 34.95 kB / 0.5036 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.1815, allocations: 23.44 kB / 0.5036 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1816, allocations: 0 / 0.5036 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Templates: time 0.007839/0.1894, allocations: 2.71 MB / 0.5063 GB, free: 8.488 MB / 398.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","/var/lib/jenkins/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