Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006167/0.006167, allocations: 164.1 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8751/0.8751, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.643e-05, allocations: 8.047 kB / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003066/0.003102, allocations: 2.802 MB / 443.6 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.004335, allocations: 0.7478 MB / 444.4 MB, free: 180 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.004507, allocations: 4 kB / 444.4 MB, free: 176 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.004659, allocations: 67.31 kB / 444.5 MB, free: 108 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.004829, allocations: 107 kB / 444.6 MB, free: 0 / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1703/0.1751, allocations: 113.1 kB / 444.7 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.1756, allocations: 489.6 kB / 445.2 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1758, allocations: 108.8 kB / 445.3 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.176, allocations: 281 kB / 445.5 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1762, allocations: 156.9 kB / 445.7 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.1762, allocations: 38.03 kB / 445.7 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.1763, allocations: 44.81 kB / 445.8 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.1763, allocations: 90.86 kB / 445.9 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.1764, allocations: 139.9 kB / 446 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.1767, allocations: 485.3 kB / 446.5 MB, free: 43.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1767, allocations: 0 / 446.5 MB, free: 43.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1767, allocations: 0 / 446.5 MB, free: 43.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1767, allocations: 0 / 446.5 MB, free: 43.63 MB / 410.7 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.0007674/0.1775, allocations: 0.6376 MB / 447.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1775, allocations: 12.42 kB / 447.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1777, allocations: 63.5 kB / 447.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.178, allocations: 228.3 kB / 447.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.178, allocations: 29.94 kB / 447.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.178, allocations: 36.12 kB / 447.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.1784, allocations: 347.1 kB / 447.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1784, allocations: 4.141 kB / 447.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.1785, allocations: 16.09 kB / 447.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1785, allocations: 20.5 kB / 447.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.1788, allocations: 298.2 kB / 448.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.18, allocations: 1.133 MB / 449.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.1803, allocations: 263.2 kB / 449.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.1805, allocations: 141.7 kB / 449.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1805, allocations: 3.125 kB / 449.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.1805, allocations: 37.75 kB / 449.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.384e-06/0.1805, allocations: 0 / 449.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004891/0.181, allocations: 373.4 kB / 450.1 MB, free: 41.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.181, allocations: 62.34 kB / 450.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1812, allocations: 236.6 kB / 450.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1812, allocations: 36.27 kB / 450.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.1812, allocations: 209.5 kB / 450.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1813, allocations: 120.8 kB / 450.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.1813, allocations: 77.31 kB / 450.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.542e-05/0.1814, allocations: 331 kB / 451.1 MB, free: 41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1815, allocations: 105.5 kB / 451.2 MB, free: 40.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1817, allocations: 172.1 kB / 451.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.1819, allocations: 289.7 kB / 451.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1819, allocations: 0 / 451.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003657/0.1823, allocations: 371.6 kB / 452 MB, free: 40.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1823, allocations: 5.844 kB / 452 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1823, allocations: 6.812 kB / 452 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1824, allocations: 7 kB / 452.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.1826, allocations: 102.8 kB / 452.2 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1826, allocations: 8.938 kB / 452.2 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1827, allocations: 39.28 kB / 452.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.1827, allocations: 15.45 kB / 452.2 MB, free: 40.51 MB / 410.7 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 9.424e-05/0.1828, allocations: 150.8 kB / 452.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1829, allocations: 27.8 kB / 452.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.1832, allocations: 322.6 kB / 452.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1832, allocations: 12.06 kB / 452.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1833, allocations: 3.281 kB / 452.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1833, allocations: 0 / 452.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1835, allocations: 283.4 kB / 453 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1835, allocations: 3.422 kB / 453 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1837, allocations: 83.59 kB / 453.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1837, allocations: 2.906 kB / 453.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.1837, allocations: 7.219 kB / 453.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1837, allocations: 0 / 453.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1837, allocations: 7.031 kB / 453.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.1842, allocations: 0.513 MB / 453.6 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.1842, allocations: 43.64 kB / 453.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1843, allocations: 7 kB / 453.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.1844, allocations: 13.12 kB / 453.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.1844, allocations: 26.8 kB / 453.7 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.1844, allocations: 10 kB / 453.7 MB, free: 39.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.757e-05/0.1845, allocations: 167.8 kB / 453.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1845, allocations: 0 / 453.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.1847, allocations: 97.84 kB / 454 MB, free: 39.56 MB / 410.7 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 8.823e-05/0.1848, allocations: 107.6 kB / 454.1 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1851, allocations: 259.2 kB / 454.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1851, allocations: 0 / 454.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.1853, allocations: 123.7 kB / 454.4 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.1855, allocations: 34.16 kB / 454.5 MB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/0.1864, allocations: 0.7127 MB / 455.2 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.806e-05/0.1865, allocations: 180.9 kB / 455.4 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.824e-05/0.1865, allocations: 35.45 kB / 455.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1865, allocations: 0 / 455.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of Templates: time 0.003677/0.1902, allocations: 3.97 MB / 459.4 MB, free: 38.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.915706912986934]