Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.00131/0.00131, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001252/0.001252, allocations: 166.7 kB / 24.91 MB, free: 9.152 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2649/0.2649, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.783e-05, allocations: 6.859 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007761/0.007779, allocations: 10.01 MB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.01202, allocations: 3.297 MB / 336.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005169/0.01254, allocations: 67.69 kB / 336.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.01491, allocations: 2.499 MB / 339.2 MB, free: 9.715 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.01648, allocations: 1.298 MB / 340.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.01726, allocations: 0.5415 MB / 341 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002062/0.01932, allocations: 3 MB / 344 MB, free: 4.859 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.02109, allocations: 2.587 MB / 346.6 MB, free: 2.199 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.0225, allocations: 2 MB / 348.6 MB, free: 200 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.02408, allocations: 1.543 MB / 350.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004204/0.0245, allocations: 284 kB / 350.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.02585, allocations: 0.9595 MB / 351.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.02715, allocations: 1.667 MB / 353 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.02834, allocations: 1.086 MB / 354.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004166/0.0325, allocations: 3.958 MB / 358.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.03251, allocations: 0 / 358.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.03251, allocations: 3.938 kB / 358.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.399e-05/0.03257, allocations: 4 kB / 358.1 MB, free: 6.668 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.003696/0.03627, allocations: 3.99 MB / 362.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.0363, allocations: 12.03 kB / 362.1 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.03852, allocations: 0.9996 MB / 363.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.03989, allocations: 1.347 MB / 364.4 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.03999, allocations: 226.2 kB / 364.6 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.04031, allocations: 304.2 kB / 364.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005227/0.04553, allocations: 4.903 MB / 369.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.016e-05/0.0456, allocations: 35.69 kB / 369.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.04583, allocations: 143.9 kB / 370 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001422/0.04725, allocations: 1.74 MB / 371.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004316/0.05156, allocations: 2.56 MB / 374.3 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.07052, allocations: 28.92 MB / 403.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.07449, allocations: 1.989 MB / 405.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.07494, allocations: 455.8 kB / 405.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003316/0.07825, allocations: 3.446 MB / 409.1 MB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.07829, allocations: 51.5 kB / 409.2 MB, free: 1.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 2.445e-06/0.07829, allocations: 0 / 409.2 MB, free: 1.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.0166/0.09489, allocations: 7.647 MB / 416.8 MB, free: 9.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.09494, allocations: 149.5 kB / 417 MB, free: 9.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.0966, allocations: 2.432 MB / 419.4 MB, free: 7.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/0.09667, allocations: 53.7 kB / 419.4 MB, free: 7.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.09782, allocations: 2.938 MB / 422.4 MB, free: 4.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.09817, allocations: 0.6822 MB / 423.1 MB, free: 3.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008622/0.09903, allocations: 1.12 MB / 424.2 MB, free: 2.418 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.09912, allocations: 365.8 kB / 424.5 MB, free: 2.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007377/0.09986, allocations: 0.6368 MB / 425.2 MB, free: 1.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.102, allocations: 4.177 MB / 429.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/0.1058, allocations: 5.536 MB / 434.9 MB, free: 4.016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.322e-05/0.1059, allocations: 36 kB / 434.9 MB, free: 3.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004303/0.1102, allocations: 4.049 MB / 439 MB, free: 15.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.1102, allocations: 60 kB / 439 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.982e-05/0.1103, allocations: 132 kB / 439.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.1109, allocations: 319.2 kB / 439.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/0.1133, allocations: 1.408 MB / 440.9 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001623/0.1135, allocations: 255 kB / 441.1 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.115, allocations: 263.7 kB / 441.4 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/0.1154, allocations: 316 kB / 441.7 MB, free: 13.19 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.0007749/0.1162, allocations: 0.599 MB / 442.3 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.1164, allocations: 191.8 kB / 442.5 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.1176, allocations: 0.9392 MB / 443.4 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.1176, allocations: 16 kB / 443.4 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1176, allocations: 4 kB / 443.4 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.1176, allocations: 11.91 kB / 443.5 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/0.122, allocations: 3.596 MB / 447.1 MB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.122, allocations: 0 / 447.1 MB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/0.1226, allocations: 275.6 kB / 447.3 MB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005724/0.1232, allocations: 291.8 kB / 447.6 MB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/0.1233, allocations: 32 kB / 447.6 MB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.1233, allocations: 4 kB / 447.6 MB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1233, allocations: 11.92 kB / 447.7 MB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.125, allocations: 1.744 MB / 449.4 MB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.1252, allocations: 238 kB / 449.6 MB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.1253, allocations: 31.98 kB / 449.7 MB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.1258, allocations: 32 kB / 449.7 MB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.1259, allocations: 100.7 kB / 449.8 MB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.126, allocations: 32 kB / 449.8 MB, free: 4.867 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007062/0.1267, allocations: 0.9309 MB / 450.8 MB, free: 3.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1267, allocations: 0 / 450.8 MB, free: 3.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00207/0.1287, allocations: 0.8359 MB / 451.6 MB, free: 3.094 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.0002545/0.129, allocations: 156 kB / 451.7 MB, free: 2.934 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.1316, allocations: 2.448 MB / 454.2 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001442/0.1318, allocations: 96.16 kB / 454.3 MB, free: 400 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1331/0.2649, allocations: 0.5414 MB / 454.8 MB, free: 128.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.2663, allocations: 279.9 kB / 455.1 MB, free: 128.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/0.2735, allocations: 6.977 MB / 462.1 MB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/0.2742, allocations: 1.083 MB / 463.2 MB, free: 126.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000911/0.2751, allocations: 449.5 kB / 463.6 MB, free: 126 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005826/0.2757, allocations: 484.7 kB / 464.1 MB, free: 125.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2757, allocations: 0 / 464.1 MB, free: 125.9 MB / 426.7 MB Notification: Performance of Templates: time 0.0314/0.3071, allocations: 23.43 MB / 487.5 MB, free: 107.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.781969045288861]