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.001106/0.001106, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001862/0.002968, allocations: 449.7 kB / 10.37 MB, free: 324 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.001116/0.001116, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002664, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.982/0.982, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09224/1.074, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2536/0.2536, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02817/0.2817, allocations: 13.22 MB / 292.6 MB, free: 6.457 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.062e-06/1.062e-06, allocations: 0 / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.64e-05, allocations: 5.047 kB / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.008165/0.008182, allocations: 10.07 MB / 303.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.01385, allocations: 3.329 MB / 307.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.01507, allocations: 59.75 kB / 307.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.01748, allocations: 2.413 MB / 309.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.01959, allocations: 1.305 MB / 311.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008835/0.02048, allocations: 0.5221 MB / 311.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003087/0.02356, allocations: 2.992 MB / 314.6 MB, free: 396 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.02574, allocations: 2.49 MB / 317.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.02783, allocations: 2.051 MB / 319.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.02931, allocations: 1.531 MB / 320.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.02961, allocations: 284 kB / 320.9 MB, free: 9.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.03106, allocations: 0.9673 MB / 321.9 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008371/0.0319, allocations: 1.484 MB / 323.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007824/0.03268, allocations: 0.8995 MB / 324.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003069/0.03575, allocations: 3.704 MB / 328 MB, free: 2.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.458e-05/0.03576, allocations: 0 / 328 MB, free: 2.883 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.03577, allocations: 0 / 328 MB, free: 2.883 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.111e-05/0.03584, allocations: 0 / 328 MB, free: 2.883 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.004568/0.04041, allocations: 4.831 MB / 332.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.04044, allocations: 12.92 kB / 332.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.04256, allocations: 1.007 MB / 333.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.04407, allocations: 1.34 MB / 335.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.04418, allocations: 226.2 kB / 335.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.04449, allocations: 304.2 kB / 335.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005651/0.05014, allocations: 4.903 MB / 340.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-05/0.0502, allocations: 43.61 kB / 340.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.05042, allocations: 143.9 kB / 340.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/0.05181, allocations: 1.752 MB / 342.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005138/0.05695, allocations: 2.551 MB / 345.1 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02454/0.08148, allocations: 28.92 MB / 374 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.08545, allocations: 1.948 MB / 375.9 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.08595, allocations: 451.9 kB / 376.4 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004017/0.08997, allocations: 3.434 MB / 379.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.09, allocations: 47.56 kB / 379.9 MB, free: 13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 4.117e-06/0.09001, allocations: 0 / 379.9 MB, free: 13 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.01711/0.1071, allocations: 7.512 MB / 387.4 MB, free: 5.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1072, allocations: 145.5 kB / 387.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.109, allocations: 2.436 MB / 389.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.611e-05/0.1091, allocations: 53.7 kB / 390 MB, free: 2.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.1102, allocations: 2.938 MB / 392.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006685/0.1109, allocations: 0.6744 MB / 393.6 MB, free: 15.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008291/0.1117, allocations: 1.12 MB / 394.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.1118, allocations: 361.8 kB / 395.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/0.1125, allocations: 0.629 MB / 395.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.1148, allocations: 4.193 MB / 399.9 MB, free: 6.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/0.1189, allocations: 5.532 MB / 405.4 MB, free: 15.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.665e-05/0.119, allocations: 36 kB / 405.5 MB, free: 15.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004737/0.1237, allocations: 4.04 MB / 409.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.1237, allocations: 60 kB / 409.6 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.492e-05/0.1238, allocations: 136 kB / 409.7 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.1244, allocations: 315.8 kB / 410 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/0.1273, allocations: 1.501 MB / 411.5 MB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001583/0.1275, allocations: 255 kB / 411.8 MB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.1295, allocations: 263.7 kB / 412 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003004/0.1298, allocations: 312 kB / 412.3 MB, free: 8.652 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.001193/0.131, allocations: 0.6029 MB / 412.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.1313, allocations: 191.8 kB / 413.1 MB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.1326, allocations: 0.9469 MB / 414.1 MB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.1326, allocations: 16 kB / 414.1 MB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1326, allocations: 4 kB / 414.1 MB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.1326, allocations: 7.969 kB / 414.1 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00511/0.1377, allocations: 3.584 MB / 417.7 MB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.1377, allocations: 4.188 kB / 417.7 MB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/0.1384, allocations: 297.7 kB / 418 MB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.1388, allocations: 234 kB / 418.2 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005947/0.1394, allocations: 291.5 kB / 418.5 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.1395, allocations: 35.98 kB / 418.5 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.1395, allocations: 4 kB / 418.5 MB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1395, allocations: 4 kB / 418.5 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.1418, allocations: 1.754 MB / 420.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.142, allocations: 28 kB / 420.3 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.1425, allocations: 28 kB / 420.3 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.1426, allocations: 100.7 kB / 420.4 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.1427, allocations: 39.92 kB / 420.5 MB, free: 332 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008317/0.1435, allocations: 0.9309 MB / 421.4 MB, free: 15.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1435, allocations: 0 / 421.4 MB, free: 15.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002559/0.1461, allocations: 0.8436 MB / 422.2 MB, free: 14.54 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.0002723/0.1463, allocations: 141.8 kB / 422.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.1493, allocations: 2.451 MB / 424.8 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001599/0.1495, allocations: 104.8 kB / 424.9 MB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.1502, allocations: 0.552 MB / 425.5 MB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.1514, allocations: 471.8 kB / 426 MB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.1623, allocations: 7.169 MB / 433.1 MB, free: 3.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009533/0.1632, allocations: 1.09 MB / 434.2 MB, free: 2.445 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00116/0.1644, allocations: 453 kB / 434.7 MB, free: 2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006134/0.165, allocations: 481.2 kB / 435.1 MB, free: 1.531 MB / 426.7 MB Notification: Performance of SimCode: time 2.554e-06/0.165, allocations: 0 / 435.1 MB, free: 1.531 MB / 426.7 MB Notification: Performance of Templates: time 0.214/0.379, allocations: 23.83 MB / 459 MB, free: 104.9 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8911448875442147]