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.001274/0.001274, allocations: 104.5 kB / 16.27 MB, free: 5.848 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.001116/0.001116, allocations: 186 kB / 17.19 MB, free: 5.5 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.772/1.772, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2703/0.2703, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001498/0.001498, allocations: 69.95 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1659, allocations: 57.78 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005832/0.1718, allocations: 2.974 MB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1738, allocations: 0.7682 MB / 444.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.1743, allocations: 4 kB / 444.3 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1746, allocations: 63.38 kB / 444.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.175, allocations: 95.06 kB / 444.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.1754, allocations: 119.8 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005527/0.176, allocations: 470.6 kB / 445 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.1763, allocations: 159.8 kB / 445.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.1767, allocations: 179.4 kB / 445.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.177, allocations: 211 kB / 445.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1772, allocations: 40 kB / 445.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1773, allocations: 40 kB / 445.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.1774, allocations: 87.67 kB / 445.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.1777, allocations: 207 kB / 445.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.1781, allocations: 458.3 kB / 446.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1782, allocations: 8 kB / 446.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1782, allocations: 0 / 446.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.1782, allocations: 0 / 446.4 MB, free: 1.043 MB / 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.001581/0.1798, allocations: 0.6981 MB / 447 MB, free: 304 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.1798, allocations: 15.89 kB / 447.1 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.18, allocations: 48.38 kB / 447.1 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.1805, allocations: 291.2 kB / 447.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.1805, allocations: 29.38 kB / 447.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.1806, allocations: 36.38 kB / 447.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.1814, allocations: 346.8 kB / 447.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1814, allocations: 0 / 447.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.1814, allocations: 19.98 kB / 447.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1815, allocations: 8 kB / 447.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.1821, allocations: 307.8 kB / 448.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.1847, allocations: 1.345 MB / 449.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.1853, allocations: 274.3 kB / 449.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.1856, allocations: 165.4 kB / 449.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.1856, allocations: 288 / 449.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.1857, allocations: 42.78 kB / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.192e-06/0.1857, allocations: 0 / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009116/0.1866, allocations: 378.4 kB / 450.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1867, allocations: 55.41 kB / 450.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.187, allocations: 274.6 kB / 450.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.1871, allocations: 29.7 kB / 450.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.1873, allocations: 204 kB / 450.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.1874, allocations: 114.3 kB / 451 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.1876, allocations: 70.03 kB / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1878, allocations: 342.8 kB / 451.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.188, allocations: 104.8 kB / 451.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.1884, allocations: 175.4 kB / 451.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.189, allocations: 292.7 kB / 451.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.189, allocations: 0 / 451.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000733/0.1897, allocations: 373.8 kB / 452.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1898, allocations: 7.984 kB / 452.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1898, allocations: 7.938 kB / 452.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1898, allocations: 4 kB / 452.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.1903, allocations: 95.81 kB / 452.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.1903, allocations: 4 kB / 452.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.1906, allocations: 39.89 kB / 452.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.1907, allocations: 20 kB / 452.5 MB, free: 10.61 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.0001769/0.1909, allocations: 157.6 kB / 452.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.1909, allocations: 27.62 kB / 452.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/0.1916, allocations: 324.3 kB / 453 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1916, allocations: 4 kB / 453 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1916, allocations: 0 / 453 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1917, allocations: 4 kB / 453 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.1922, allocations: 413 kB / 453.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1922, allocations: 0 / 453.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.1926, allocations: 83.88 kB / 453.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1926, allocations: 4 kB / 453.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.1926, allocations: 8 kB / 453.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1926, allocations: 4 kB / 453.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1926, allocations: 0 / 453.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.1935, allocations: 0.5145 MB / 454 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.1937, allocations: 128.7 kB / 454.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.1937, allocations: 4 kB / 454.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.194, allocations: 15.98 kB / 454.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.1941, allocations: 19.97 kB / 454.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1941, allocations: 8 kB / 454.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.1943, allocations: 194 kB / 454.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1943, allocations: 3.938 kB / 454.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.1947, allocations: 91.84 kB / 454.5 MB, free: 8.523 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.0001225/0.1948, allocations: 99.23 kB / 454.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.1955, allocations: 291.5 kB / 454.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.1955, allocations: 4.438 kB / 454.8 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.1958, allocations: 131.8 kB / 455 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.1963, allocations: 41.12 kB / 455 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.1978, allocations: 0.7516 MB / 455.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1982, allocations: 0.7835 MB / 456.5 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.1984, allocations: 42.94 kB / 456.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1985, allocations: 27.38 kB / 456.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.1985, allocations: 0 / 456.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Templates: time 0.006414/0.2049, allocations: 2.642 MB / 459.3 MB, free: 3.68 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 -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