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.001017/0.001017, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009997/0.0009997, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.8888/0.8888, allocations: 177.1 MB / 205 MB, free: 5.633 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.2321/0.2321, allocations: 34.26 MB / 295.7 MB, free: 0.7422 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.453e-06/1.453e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.497e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.02275/0.02277, allocations: 10.21 MB / 388.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008299/0.03107, allocations: 3.178 MB / 391.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/0.03179, allocations: 63.75 kB / 391.5 MB, free: 5.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.03426, allocations: 2.546 MB / 394 MB, free: 2.562 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.03603, allocations: 1.301 MB / 395.4 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.03686, allocations: 0.5455 MB / 395.9 MB, free: 0.707 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002908/0.03977, allocations: 2.998 MB / 398.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.04228, allocations: 2.509 MB / 401.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.04436, allocations: 2.015 MB / 403.4 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.04589, allocations: 1.613 MB / 405 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004353/0.04633, allocations: 284 kB / 405.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.04736, allocations: 0.94 MB / 406.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008685/0.04823, allocations: 1.667 MB / 407.9 MB, free: 4.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008349/0.04906, allocations: 1.086 MB / 409 MB, free: 3.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003098/0.05216, allocations: 3.954 MB / 413 MB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.05216, allocations: 0 / 413 MB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.05216, allocations: 0 / 413 MB, free: 15.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000102/0.05227, allocations: 4 kB / 413 MB, free: 15.55 MB / 394.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.004515/0.05678, allocations: 4.561 MB / 417.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.05681, allocations: 8.031 kB / 417.5 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/0.06014, allocations: 2.264 MB / 419.8 MB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.06164, allocations: 1.666 MB / 421.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.06175, allocations: 226.2 kB / 421.7 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/0.06204, allocations: 300.2 kB / 422 MB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00757/0.06961, allocations: 6.779 MB / 428.8 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.229e-05/0.06967, allocations: 35.69 kB / 428.8 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/0.06989, allocations: 139.9 kB / 428.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00174/0.07163, allocations: 1.923 MB / 430.8 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006426/0.07806, allocations: 4.021 MB / 434.9 MB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.16/0.2381, allocations: 40.22 MB / 475.1 MB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0067/0.2448, allocations: 2.368 MB / 477.5 MB, free: 60.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000876/0.2456, allocations: 0.5724 MB / 478 MB, free: 60.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004934/0.2506, allocations: 4.059 MB / 482.1 MB, free: 58.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2506, allocations: 52.23 kB / 482.1 MB, free: 58.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 3.868e-06/0.2506, allocations: 0 / 482.1 MB, free: 58.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.03431/0.2849, allocations: 12.6 MB / 494.7 MB, free: 54.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.285, allocations: 148.2 kB / 494.9 MB, free: 54.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/0.2885, allocations: 3.042 MB / 497.9 MB, free: 53.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/0.2886, allocations: 47.73 kB / 498 MB, free: 53.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.2901, allocations: 3.189 MB / 0.4894 GB, free: 50.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004499/0.2905, allocations: 0.699 MB / 0.4901 GB, free: 50.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001502/0.292, allocations: 1.271 MB / 0.4913 GB, free: 49.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.2921, allocations: 0.5285 MB / 0.4919 GB, free: 49.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.2935, allocations: 0.6404 MB / 0.4925 GB, free: 49.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/0.2968, allocations: 6.108 MB / 0.4984 GB, free: 41.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005442/0.3022, allocations: 7.461 MB / 0.5057 GB, free: 33.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.681e-05/0.3023, allocations: 38.5 kB / 0.5058 GB, free: 33.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.005903/0.3082, allocations: 5.204 MB / 0.5109 GB, free: 31.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.3083, allocations: 62.69 kB / 0.5109 GB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.486e-05/0.3083, allocations: 130.5 kB / 0.511 GB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.309, allocations: 355.7 kB / 0.5114 GB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.311, allocations: 1.376 MB / 0.5127 GB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/0.3111, allocations: 258.8 kB / 0.513 GB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.3128, allocations: 306.4 kB / 0.5133 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.313, allocations: 359.2 kB / 0.5136 GB, free: 31.14 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.0008283/0.3139, allocations: 0.645 MB / 0.5142 GB, free: 30.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.3141, allocations: 332.8 kB / 0.5145 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.3156, allocations: 1.222 MB / 0.5157 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.3156, allocations: 22.83 kB / 0.5158 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3156, allocations: 0 / 0.5158 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.3156, allocations: 14 kB / 0.5158 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.3209, allocations: 4.532 MB / 0.5202 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3209, allocations: 0 / 0.5202 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/0.3215, allocations: 270.2 kB / 0.5205 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/0.322, allocations: 189.2 kB / 0.5206 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.3221, allocations: 34.06 kB / 0.5207 GB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.3221, allocations: 12.73 kB / 0.5207 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3221, allocations: 0 / 0.5207 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.3242, allocations: 2.347 MB / 0.523 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.3244, allocations: 245.1 kB / 0.5232 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.3246, allocations: 25.45 kB / 0.5232 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.325, allocations: 65.81 kB / 0.5233 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.3252, allocations: 94.08 kB / 0.5234 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.3252, allocations: 54.05 kB / 0.5234 GB, free: 23.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.3263, allocations: 1.242 MB / 0.5247 GB, free: 22.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3263, allocations: 0 / 0.5247 GB, free: 22.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002142/0.3285, allocations: 0.8329 MB / 0.5255 GB, free: 22.04 MB / 410.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.0002408/0.3287, allocations: 162.9 kB / 0.5256 GB, free: 21.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003123/0.3318, allocations: 2.909 MB / 0.5285 GB, free: 19.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3318, allocations: 0 / 0.5285 GB, free: 19.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008581/0.3327, allocations: 0.7306 MB / 0.5292 GB, free: 18.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008494/0.3336, allocations: 293.4 kB / 0.5295 GB, free: 18.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.3399, allocations: 6.978 MB / 0.5363 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.3406, allocations: 1.092 MB / 0.5373 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001707/0.3423, allocations: 1.509 MB / 0.5388 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.3426, allocations: 204.3 kB / 0.539 GB, free: 10.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3426, allocations: 4 kB / 0.539 GB, free: 10.16 MB / 410.7 MB Notification: Performance of Templates: time 0.02984/0.3724, allocations: 21.65 MB / 0.5601 GB, free: 5.891 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 -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.941280690021813]