Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001089/0.001089, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.00107/0.00107, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9847/0.9847, allocations: 177 MB / 205.2 MB, free: 5.012 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.2568/0.2568, allocations: 34.86 MB / 296.6 MB, free: 380 kB / 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.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 3.938 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.366e-05, allocations: 2.312 kB / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.008596/0.00862, allocations: 10.01 MB / 336 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006256/0.01488, allocations: 3.302 MB / 339.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.01629, allocations: 63.69 kB / 339.3 MB, free: 9.637 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.0196, allocations: 2.499 MB / 341.8 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003189/0.02279, allocations: 1.305 MB / 343.2 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.02398, allocations: 0.5377 MB / 343.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003638/0.02762, allocations: 2.999 MB / 346.7 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00341/0.03103, allocations: 2.587 MB / 349.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.03447, allocations: 1.992 MB / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.03712, allocations: 1.543 MB / 352.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008334/0.03796, allocations: 284 kB / 353.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.03977, allocations: 0.9595 MB / 354 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.04159, allocations: 1.675 MB / 355.7 MB, free: 9.148 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.04344, allocations: 1.086 MB / 356.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.04884, allocations: 3.958 MB / 360.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.04885, allocations: 0 / 360.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.04885, allocations: 0 / 360.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001661/0.04902, allocations: 0 / 360.8 MB, free: 4.086 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.006454/0.05547, allocations: 3.994 MB / 364.8 MB, free: 44 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.05552, allocations: 8.031 kB / 364.8 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.05897, allocations: 1.004 MB / 365.8 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.06173, allocations: 1.351 MB / 367.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.0619, allocations: 226.2 kB / 367.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000489/0.06239, allocations: 304.2 kB / 367.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009277/0.07166, allocations: 4.899 MB / 372.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.07177, allocations: 39.69 kB / 372.6 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003208/0.07209, allocations: 143.9 kB / 372.7 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00201/0.0741, allocations: 1.74 MB / 374.5 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007057/0.08115, allocations: 2.555 MB / 377 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02613/0.1073, allocations: 28.91 MB / 405.9 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/0.1114, allocations: 1.995 MB / 407.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.1119, allocations: 451.8 kB / 408.4 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004845/0.1168, allocations: 3.45 MB / 411.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.1168, allocations: 51.5 kB / 411.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 4.759e-06/0.1168, allocations: 0 / 411.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.02707/0.1439, allocations: 7.661 MB / 419.5 MB, free: 7.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.144, allocations: 149.5 kB / 419.7 MB, free: 7.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.1457, allocations: 2.436 MB / 422.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-05/0.1458, allocations: 45.7 kB / 422.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.1469, allocations: 2.942 MB / 425.1 MB, free: 1.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.1473, allocations: 0.6744 MB / 425.8 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008615/0.1482, allocations: 1.113 MB / 426.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.1483, allocations: 365.7 kB / 427.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.149, allocations: 0.6329 MB / 427.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.1512, allocations: 4.185 MB / 432 MB, free: 8.809 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/0.155, allocations: 5.534 MB / 437.6 MB, free: 1.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.476e-05/0.155, allocations: 36 kB / 437.6 MB, free: 1.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.00454/0.1595, allocations: 4.041 MB / 441.7 MB, free: 13.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.1596, allocations: 60 kB / 441.7 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.866e-05/0.1597, allocations: 132 kB / 441.8 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.1603, allocations: 323.4 kB / 442.2 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/0.1627, allocations: 1.408 MB / 443.6 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001525/0.1629, allocations: 255 kB / 443.8 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.1647, allocations: 263.6 kB / 444.1 MB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.1649, allocations: 316 kB / 444.4 MB, free: 10.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001075/0.166, allocations: 0.599 MB / 445 MB, free: 10 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.1664, allocations: 191.8 kB / 445.2 MB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.1677, allocations: 0.9353 MB / 446.1 MB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.1677, allocations: 20 kB / 446.1 MB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1677, allocations: 4 kB / 446.1 MB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.1677, allocations: 7.969 kB / 446.1 MB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.1728, allocations: 3.6 MB / 449.7 MB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1728, allocations: 0 / 449.7 MB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/0.1735, allocations: 275.6 kB / 450 MB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006034/0.1741, allocations: 287.7 kB / 450.3 MB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/0.1742, allocations: 32 kB / 450.3 MB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.1742, allocations: 8 kB / 450.3 MB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1742, allocations: 11.92 kB / 450.3 MB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.1761, allocations: 1.75 MB / 452.1 MB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.1765, allocations: 238 kB / 452.3 MB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.1766, allocations: 31.98 kB / 452.3 MB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.1771, allocations: 28 kB / 452.4 MB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.1772, allocations: 100.7 kB / 452.5 MB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.1773, allocations: 32 kB / 452.5 MB, free: 2.293 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008202/0.1781, allocations: 0.9348 MB / 453.4 MB, free: 1.352 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1781, allocations: 0 / 453.4 MB, free: 1.352 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002677/0.1808, allocations: 0.8358 MB / 454.3 MB, free: 0.5156 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.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 (143): * Single equations (assignments): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002914/0.1811, allocations: 148.6 kB / 454.4 MB, free: 372 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1309/0.312, allocations: 2.438 MB / 456.9 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002043/0.3122, allocations: 95 kB / 457 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.3133, allocations: 0.5504 MB / 457.5 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.3148, allocations: 289.6 kB / 457.8 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008968/0.3237, allocations: 6.973 MB / 464.8 MB, free: 114 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009528/0.3247, allocations: 1.082 MB / 465.8 MB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001286/0.326, allocations: 452.1 kB / 466.3 MB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007341/0.3267, allocations: 484.2 kB / 466.8 MB, free: 113.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/0.3267, allocations: 3.688 kB / 466.8 MB, free: 113.7 MB / 426.7 MB Notification: Performance of Templates: time 0.04044/0.3672, allocations: 23.42 MB / 490.2 MB, free: 95.87 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8913943767547607]