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.0007541/0.0007541, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001812, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006789/0.0006789, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009305/0.001609, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.96/0.96, allocations: 177.5 MB / 190 MB, free: 4.75 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.109/1.069, allocations: 53.88 MB / 243.9 MB, free: 14.8 MB / 250.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.2762/0.2762, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02627/0.3025, allocations: 13.23 MB / 292.8 MB, free: 6.348 MB / 282.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.152e-06/1.152e-06, allocations: 0 / 294.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.007e-05, allocations: 3.078 kB / 294.1 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007743/0.007763, allocations: 10.09 MB / 304.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.01362, allocations: 3.314 MB / 307.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.01476, allocations: 63.69 kB / 307.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.01721, allocations: 2.421 MB / 310 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.01965, allocations: 1.294 MB / 311.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.02065, allocations: 0.5337 MB / 311.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003135/0.02379, allocations: 2.965 MB / 314.8 MB, free: 284 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.02636, allocations: 2.49 MB / 317.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.03053, allocations: 2.055 MB / 319.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.03287, allocations: 1.55 MB / 320.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006369/0.03351, allocations: 284 kB / 321.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.03516, allocations: 0.9518 MB / 322.1 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.03628, allocations: 1.492 MB / 323.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.03744, allocations: 0.8957 MB / 324.5 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004869/0.04231, allocations: 3.693 MB / 328.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.04232, allocations: 0 / 328.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.04232, allocations: 0 / 328.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001401/0.04246, allocations: 0 / 328.2 MB, free: 2.773 MB / 314.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.00725/0.04971, allocations: 4.835 MB / 333 MB, free: 13.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.04976, allocations: 8.922 kB / 333 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.05304, allocations: 1.011 MB / 334 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.05517, allocations: 1.344 MB / 335.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.05532, allocations: 230.2 kB / 335.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004377/0.05576, allocations: 304.2 kB / 335.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007804/0.06356, allocations: 4.903 MB / 340.8 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-05/0.06364, allocations: 31.7 kB / 340.8 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003031/0.06395, allocations: 147.9 kB / 341 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001888/0.06584, allocations: 1.631 MB / 342.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006362/0.0722, allocations: 2.556 MB / 345.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02585/0.09805, allocations: 28.92 MB / 374.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.1024, allocations: 1.952 MB / 376.1 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.1029, allocations: 452.5 kB / 376.5 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003968/0.1068, allocations: 3.419 MB / 379.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.1069, allocations: 63.42 kB / 380 MB, free: 12.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 2.855e-06/0.1069, allocations: 0 / 380 MB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.01759/0.1245, allocations: 7.662 MB / 387.6 MB, free: 5.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.1245, allocations: 145.5 kB / 387.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.1267, allocations: 2.436 MB / 390.2 MB, free: 2.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.1268, allocations: 49.7 kB / 390.3 MB, free: 2.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.1279, allocations: 2.946 MB / 393.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/0.1283, allocations: 0.6744 MB / 393.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008449/0.1292, allocations: 1.116 MB / 395 MB, free: 13.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1293, allocations: 361.8 kB / 395.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.1299, allocations: 0.6368 MB / 396 MB, free: 12.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.1323, allocations: 4.181 MB / 400.2 MB, free: 6.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/0.1368, allocations: 5.952 MB / 406.1 MB, free: 14.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.466e-05/0.1368, allocations: 40 kB / 406.2 MB, free: 14.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004942/0.1418, allocations: 4.043 MB / 410.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.1418, allocations: 60 kB / 410.3 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.1419, allocations: 140 kB / 410.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.1425, allocations: 316 kB / 410.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.1449, allocations: 1.505 MB / 412.2 MB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001155/0.145, allocations: 255 kB / 412.5 MB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.1468, allocations: 259.7 kB / 412.7 MB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/0.1471, allocations: 316 kB / 413 MB, free: 8.059 MB / 410.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.001022/0.1481, allocations: 0.6029 MB / 413.6 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.1485, allocations: 191.7 kB / 413.8 MB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.1501, allocations: 0.9391 MB / 414.8 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.1501, allocations: 16 kB / 414.8 MB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.1501, allocations: 4.031 kB / 414.8 MB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.1501, allocations: 11.97 kB / 414.8 MB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/0.1552, allocations: 3.592 MB / 418.4 MB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.1552, allocations: 11.98 kB / 418.4 MB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.1559, allocations: 287.7 kB / 418.7 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.1563, allocations: 237.9 kB / 418.9 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000628/0.157, allocations: 287.6 kB / 419.2 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.1571, allocations: 31.98 kB / 419.2 MB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.1571, allocations: 11.94 kB / 419.2 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.1571, allocations: 7.938 kB / 419.2 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.1589, allocations: 1.756 MB / 421 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.1591, allocations: 24 kB / 421 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.1596, allocations: 28 kB / 421 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.1598, allocations: 112.6 kB / 421.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.1598, allocations: 35.98 kB / 421.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.161, allocations: 0.927 MB / 422.1 MB, free: 14.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.161, allocations: 0 / 422.1 MB, free: 14.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002793/0.1638, allocations: 0.8398 MB / 423 MB, free: 13.94 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.0003526/0.1641, allocations: 148.1 kB / 423.1 MB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003333/0.1675, allocations: 2.561 MB / 425.7 MB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000189/0.1676, allocations: 100.8 kB / 425.8 MB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000904/0.1685, allocations: 0.6437 MB / 426.4 MB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.1704, allocations: 1.954 MB / 428.4 MB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.1816, allocations: 7.149 MB / 435.5 MB, free: 1.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1188/0.3004, allocations: 1.09 MB / 436.6 MB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002014/0.3024, allocations: 441.3 kB / 437 MB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007403/0.3031, allocations: 478.6 kB / 437.5 MB, free: 122.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.345e-06/0.3031, allocations: 0 / 437.5 MB, free: 122.2 MB / 426.7 MB Notification: Performance of Templates: time 0.03568/0.3388, allocations: 21.95 MB / 459.4 MB, free: 112.4 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4274347545579076]