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.0009688/0.0009688, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009631/0.0009631, allocations: 161.4 kB / 24.56 MB, free: 20 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.985/0.985, allocations: 177.2 MB / 205 MB, free: 5.273 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.2688/0.2688, allocations: 32.8 MB / 294.3 MB, free: 1.242 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.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.46e-05/3.62e-05, allocations: 8.641 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.008658/0.008694, allocations: 10.21 MB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006966/0.01566, allocations: 3.193 MB / 389.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.01724, allocations: 59.75 kB / 389.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.02035, allocations: 2.538 MB / 392 MB, free: 4.598 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.02355, allocations: 1.302 MB / 393.3 MB, free: 3.289 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.02496, allocations: 0.5416 MB / 393.9 MB, free: 2.746 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.0289, allocations: 2.993 MB / 396.9 MB, free: 15.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.031, allocations: 2.52 MB / 399.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.03307, allocations: 1.91 MB / 401.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.03486, allocations: 1.707 MB / 403 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.03518, allocations: 292 kB / 403.3 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.03645, allocations: 0.9594 MB / 404.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009815/0.03743, allocations: 1.679 MB / 405.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008271/0.03826, allocations: 1.102 MB / 407 MB, free: 5.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.04219, allocations: 4.005 MB / 411 MB, free: 1.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.0422, allocations: 0 / 411 MB, free: 1.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.0422, allocations: 0 / 411 MB, free: 1.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.86e-05/0.04227, allocations: 0 / 411 MB, free: 1.492 MB / 378.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.004519/0.04679, allocations: 4.578 MB / 415.6 MB, free: 12.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.04683, allocations: 8.031 kB / 415.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003755/0.05058, allocations: 2.276 MB / 417.9 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.05254, allocations: 1.653 MB / 419.5 MB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.05265, allocations: 226.2 kB / 419.8 MB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.05298, allocations: 303 kB / 420.1 MB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009524/0.06251, allocations: 6.802 MB / 426.9 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.96e-05/0.06258, allocations: 35.64 kB / 426.9 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.06282, allocations: 143.9 kB / 427 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001896/0.06471, allocations: 2.04 MB / 429.1 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00934/0.07405, allocations: 4.242 MB / 433.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1954/0.2694, allocations: 40.13 MB / 473.4 MB, free: 62.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005188/0.2746, allocations: 2.458 MB / 475.9 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009632/0.2756, allocations: 0.7522 MB / 476.7 MB, free: 62.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004418/0.28, allocations: 4.062 MB / 480.7 MB, free: 60.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.28, allocations: 56.17 kB / 480.8 MB, free: 60.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 4.588e-06/0.28, allocations: 3.375 kB / 480.8 MB, free: 60.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.03053/0.3106, allocations: 15.65 MB / 496.4 MB, free: 56.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.3106, allocations: 148 kB / 496.6 MB, free: 56.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003056/0.3137, allocations: 2.87 MB / 499.4 MB, free: 54.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002963/0.314, allocations: 56.3 kB / 499.5 MB, free: 54.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.3152, allocations: 3.063 MB / 0.4908 GB, free: 52.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007371/0.316, allocations: 0.849 MB / 0.4916 GB, free: 51.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.3173, allocations: 1.285 MB / 0.4929 GB, free: 51.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3174, allocations: 0.5278 MB / 0.4934 GB, free: 50.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.3188, allocations: 0.7669 MB / 0.4941 GB, free: 50.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.3218, allocations: 5.879 MB / 0.4999 GB, free: 43.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00542/0.3272, allocations: 7.373 MB / 0.5071 GB, free: 36.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/0.3273, allocations: 40.69 kB / 0.5071 GB, free: 36.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.009068/0.3364, allocations: 5.578 MB / 0.5126 GB, free: 34.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.3364, allocations: 56.94 kB / 0.5126 GB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/0.3365, allocations: 120.4 kB / 0.5127 GB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.338, allocations: 0.6379 MB / 0.5133 GB, free: 34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/0.3409, allocations: 1.382 MB / 0.5147 GB, free: 33.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.3435, allocations: 4.697 MB / 0.5193 GB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.3466, allocations: 321.1 kB / 0.5196 GB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005522/0.3472, allocations: 361.2 kB / 0.5199 GB, free: 28.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001616/0.3488, allocations: 0.6461 MB / 0.5206 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/0.3493, allocations: 342.8 kB / 0.5209 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.3523, allocations: 2.013 MB / 0.5229 GB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.3523, allocations: 24 kB / 0.5229 GB, free: 25.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.3524, allocations: 4.656 kB / 0.5229 GB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.3524, allocations: 8.953 kB / 0.5229 GB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007913/0.3603, allocations: 5.491 MB / 0.5283 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.3603, allocations: 4 kB / 0.5283 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/0.3612, allocations: 353.4 kB / 0.5286 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.3623, allocations: 473.1 kB / 0.529 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.3624, allocations: 36 kB / 0.5291 GB, free: 20.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.3644, allocations: 4.071 MB / 0.5331 GB, free: 16.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3644, allocations: 3.938 kB / 0.5331 GB, free: 16.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/0.3684, allocations: 3.118 MB / 0.5361 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.3691, allocations: 249.7 kB / 0.5363 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.3693, allocations: 46.75 kB / 0.5364 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/0.37, allocations: 113.8 kB / 0.5365 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.3702, allocations: 124.6 kB / 0.5366 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/0.3703, allocations: 55.38 kB / 0.5367 GB, free: 13.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001255/0.3715, allocations: 1.179 MB / 0.5378 GB, free: 12.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3715, allocations: 0 / 0.5378 GB, free: 12.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003454/0.375, allocations: 0.9526 MB / 0.5387 GB, free: 11.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003436/0.3753, allocations: 166.1 kB / 0.5389 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004907/0.3802, allocations: 3.679 MB / 0.5425 GB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3802, allocations: 0 / 0.5425 GB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.3818, allocations: 1.436 MB / 0.5439 GB, free: 6.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.383, allocations: 297.7 kB / 0.5442 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008996/0.3919, allocations: 7.231 MB / 0.5512 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.393, allocations: 1.129 MB / 0.5523 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002399/0.3954, allocations: 1.529 MB / 0.5538 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/0.3959, allocations: 228.4 kB / 0.5541 GB, free: 12.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.774e-06/0.3959, allocations: 0 / 0.5541 GB, free: 12.14 MB / 426.7 MB Notification: Performance of Templates: time 0.04411/0.44, allocations: 29.9 MB / 0.5833 GB, free: 14.76 MB / 458.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 -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: 4.597413538955152]