Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004699/0.004699, allocations: 156.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.868/0.868, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2631/0.2631, allocations: 34.25 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.899e-05, allocations: 4.391 kB / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.1734/0.1734, allocations: 2.812 MB / 446.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008619/0.1743, allocations: 0.7399 MB / 447 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1744, allocations: 10.12 kB / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1746, allocations: 57.81 kB / 447 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.1747, allocations: 112.7 kB / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1749, allocations: 122.3 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1752, allocations: 481.5 kB / 447.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.1754, allocations: 105.9 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1756, allocations: 275.3 kB / 448.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1758, allocations: 154.4 kB / 448.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.1758, allocations: 37.44 kB / 448.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.1759, allocations: 47.12 kB / 448.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.1759, allocations: 87.56 kB / 448.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.176, allocations: 146.8 kB / 448.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1763, allocations: 489.3 kB / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1763, allocations: 0 / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1763, allocations: 0 / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1763, allocations: 0 / 449 MB, free: 41.84 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.0007645/0.177, allocations: 0.6323 MB / 449.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1771, allocations: 9.531 kB / 449.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1772, allocations: 62.34 kB / 449.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1775, allocations: 237.8 kB / 450 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1775, allocations: 27.72 kB / 450 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.1776, allocations: 38.97 kB / 450 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.1779, allocations: 337.7 kB / 450.4 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1779, allocations: 192 / 450.4 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.178, allocations: 15.12 kB / 450.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.178, allocations: 12.56 kB / 450.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.1783, allocations: 311.6 kB / 450.7 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1794, allocations: 1.135 MB / 451.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.1797, allocations: 266.7 kB / 452.1 MB, free: 40 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.1799, allocations: 140.5 kB / 452.2 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1799, allocations: 3.188 kB / 452.2 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.1799, allocations: 37.72 kB / 452.3 MB, free: 39.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.402e-06/0.1799, allocations: 0 / 452.3 MB, free: 39.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004715/0.1804, allocations: 371.7 kB / 452.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.1804, allocations: 58.22 kB / 452.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1806, allocations: 237.1 kB / 452.9 MB, free: 39.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1806, allocations: 32.67 kB / 453 MB, free: 39.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.1807, allocations: 214.1 kB / 453.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.1807, allocations: 123 kB / 453.3 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.1808, allocations: 71.12 kB / 453.4 MB, free: 39.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.1808, allocations: 334.7 kB / 453.7 MB, free: 38.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1809, allocations: 107.2 kB / 453.8 MB, free: 38.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.1811, allocations: 177 kB / 454 MB, free: 38.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.1814, allocations: 287.7 kB / 454.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1814, allocations: 2.625 kB / 454.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003555/0.1817, allocations: 362.8 kB / 454.6 MB, free: 38.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1817, allocations: 5.844 kB / 454.6 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1817, allocations: 3.938 kB / 454.6 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1817, allocations: 9.938 kB / 454.6 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.182, allocations: 105.4 kB / 454.7 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.182, allocations: 8.047 kB / 454.7 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1821, allocations: 33.94 kB / 454.8 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.1821, allocations: 14.72 kB / 454.8 MB, free: 38.35 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 8.552e-05/0.1822, allocations: 147.1 kB / 454.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.1822, allocations: 29.31 kB / 454.9 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.1826, allocations: 335.7 kB / 455.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1826, allocations: 2.938 kB / 455.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1826, allocations: 0 / 455.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1826, allocations: 0 / 455.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.1828, allocations: 298.3 kB / 455.6 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1828, allocations: 0 / 455.6 MB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.183, allocations: 80.66 kB / 455.6 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.183, allocations: 2.844 kB / 455.7 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.183, allocations: 10.75 kB / 455.7 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.183, allocations: 7.266 kB / 455.7 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.183, allocations: 4 kB / 455.7 MB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.1835, allocations: 0.5085 MB / 456.2 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1836, allocations: 44.42 kB / 456.2 MB, free: 37.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1836, allocations: 6.875 kB / 456.2 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.1837, allocations: 16.7 kB / 456.2 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1837, allocations: 26.98 kB / 456.3 MB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1837, allocations: 9.688 kB / 456.3 MB, free: 37.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.293e-05/0.1838, allocations: 172.2 kB / 456.5 MB, free: 37.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1838, allocations: 0 / 456.5 MB, free: 37.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.184, allocations: 98.06 kB / 456.5 MB, free: 37.36 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 7.873e-05/0.1841, allocations: 100.7 kB / 456.6 MB, free: 37.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.1844, allocations: 257.2 kB / 456.9 MB, free: 37.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1844, allocations: 0 / 456.9 MB, free: 37.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1846, allocations: 126.4 kB / 457 MB, free: 37.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.1848, allocations: 32.02 kB / 457.1 MB, free: 37.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008137/0.1856, allocations: 0.7156 MB / 457.8 MB, free: 36.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.636e-05/0.1857, allocations: 178.6 kB / 457.9 MB, free: 36.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.1858, allocations: 30.38 kB / 458 MB, free: 36.59 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1858, allocations: 0 / 458 MB, free: 36.59 MB / 410.7 MB Notification: Performance of Templates: time 0.003531/0.1893, allocations: 3.959 MB / 461.9 MB, free: 36.19 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.663334207609296]