Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001389/0.001389, allocations: 80.8 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.001118/0.001118, allocations: 167.3 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 0.9809/0.9809, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2505/0.2505, allocations: 34.26 MB / 296.1 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.819e-05, allocations: 6 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01131/0.01134, allocations: 10.01 MB / 335.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005493/0.01683, allocations: 3.302 MB / 338.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.01756, allocations: 59.75 kB / 338.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.02002, allocations: 2.507 MB / 341.2 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.02183, allocations: 1.301 MB / 342.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.02284, allocations: 0.5415 MB / 343 MB, free: 5.828 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.02527, allocations: 3.001 MB / 346 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.02723, allocations: 2.587 MB / 348.6 MB, free: 164 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.02925, allocations: 1.992 MB / 350.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.03077, allocations: 1.543 MB / 352.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.03105, allocations: 284 kB / 352.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.03223, allocations: 0.9633 MB / 353.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000893/0.03312, allocations: 1.667 MB / 355 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008007/0.03393, allocations: 1.086 MB / 356.1 MB, free: 8.613 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.03701, allocations: 3.958 MB / 360.1 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.03701, allocations: 4 kB / 360.1 MB, free: 4.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03701, allocations: 0 / 360.1 MB, free: 4.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.03704, allocations: 0 / 360.1 MB, free: 4.637 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.003454/0.0405, allocations: 3.99 MB / 364.1 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.04053, allocations: 12.03 kB / 364.1 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.0429, allocations: 1.004 MB / 365.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.0442, allocations: 1.34 MB / 366.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.04432, allocations: 234.1 kB / 366.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/0.04466, allocations: 300.2 kB / 367 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005577/0.05024, allocations: 4.903 MB / 371.9 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.647e-05/0.0503, allocations: 39.64 kB / 371.9 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.05052, allocations: 147.8 kB / 372 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001408/0.05193, allocations: 1.732 MB / 373.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004353/0.05628, allocations: 2.553 MB / 376.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.0766, allocations: 28.92 MB / 405.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/0.08058, allocations: 1.993 MB / 407.2 MB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.08109, allocations: 448.6 kB / 407.7 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003584/0.08468, allocations: 3.45 MB / 411.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.08471, allocations: 43.56 kB / 411.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 2.985e-06/0.08471, allocations: 0 / 411.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.01721/0.1019, allocations: 7.657 MB / 418.8 MB, free: 7.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.102, allocations: 153.4 kB / 419 MB, free: 7.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.1036, allocations: 2.432 MB / 421.4 MB, free: 5.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/0.1037, allocations: 61.62 kB / 421.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.1049, allocations: 2.938 MB / 424.4 MB, free: 2.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.1053, allocations: 0.6783 MB / 425.1 MB, free: 1.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008603/0.1061, allocations: 1.112 MB / 426.2 MB, free: 396 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.1062, allocations: 361.8 kB / 426.6 MB, free: 28 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/0.1069, allocations: 0.6329 MB / 427.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/0.1092, allocations: 4.185 MB / 431.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/0.1129, allocations: 5.529 MB / 436.9 MB, free: 1.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.33e-05/0.113, allocations: 36 kB / 436.9 MB, free: 1.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004266/0.1172, allocations: 4.046 MB / 441 MB, free: 13.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.1173, allocations: 60 kB / 441 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-05/0.1174, allocations: 136.2 kB / 441.2 MB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.1179, allocations: 319.1 kB / 441.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.1202, allocations: 1.408 MB / 442.9 MB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001209/0.1203, allocations: 255 kB / 443.1 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.1221, allocations: 255.7 kB / 443.4 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/0.1224, allocations: 316 kB / 443.7 MB, free: 11.17 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.00099/0.1233, allocations: 0.6068 MB / 444.3 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.1236, allocations: 199.7 kB / 444.5 MB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.1248, allocations: 0.9314 MB / 445.4 MB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.1248, allocations: 24.02 kB / 445.5 MB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.1248, allocations: 4 kB / 445.5 MB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.1248, allocations: 7.969 kB / 445.5 MB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004586/0.1294, allocations: 3.6 MB / 449.1 MB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1294, allocations: 0 / 449.1 MB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/0.1301, allocations: 270.4 kB / 449.3 MB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000587/0.1307, allocations: 295.7 kB / 449.6 MB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.1308, allocations: 24 kB / 449.7 MB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.1308, allocations: 15.94 kB / 449.7 MB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1308, allocations: 0 / 449.7 MB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.1325, allocations: 1.748 MB / 451.4 MB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.1327, allocations: 238 kB / 451.6 MB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.1329, allocations: 35.98 kB / 451.7 MB, free: 3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.1333, allocations: 28 kB / 451.7 MB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.1334, allocations: 100.7 kB / 451.8 MB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.1335, allocations: 32 kB / 451.8 MB, free: 2.844 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007554/0.1342, allocations: 0.9348 MB / 452.8 MB, free: 1.902 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1342, allocations: 0 / 452.8 MB, free: 1.902 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002349/0.1366, allocations: 0.8397 MB / 453.6 MB, free: 1.062 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.000279/0.1369, allocations: 140.1 kB / 453.7 MB, free: 0.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1409/0.2777, allocations: 2.446 MB / 456.2 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002401/0.278, allocations: 91 kB / 456.3 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008992/0.2789, allocations: 0.5497 MB / 456.8 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.28, allocations: 289.3 kB / 457.1 MB, free: 117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007761/0.2878, allocations: 6.974 MB / 464.1 MB, free: 114.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007742/0.2886, allocations: 1.082 MB / 465.2 MB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009656/0.2896, allocations: 458 kB / 465.6 MB, free: 114.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/0.2901, allocations: 482.1 kB / 466.1 MB, free: 114.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2901, allocations: 0 / 466.1 MB, free: 114.1 MB / 426.7 MB Notification: Performance of Templates: time 0.03225/0.3224, allocations: 23.42 MB / 489.5 MB, free: 96.62 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.6902652108110487]