Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001063/0.001063, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001568/0.001568, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.021/1.021, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1386/0.1386, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.023e-05, allocations: 18.19 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.00764/0.00767, allocations: 10.27 MB / 358 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006865/0.01453, allocations: 3.194 MB / 361.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.01655, allocations: 59.75 kB / 361.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003851/0.0204, allocations: 2.538 MB / 363.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003564/0.02397, allocations: 1.325 MB / 365.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.02532, allocations: 0.5378 MB / 365.6 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.02914, allocations: 3.046 MB / 368.7 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.03205, allocations: 2.548 MB / 371.2 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.03602, allocations: 2.038 MB / 373.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/0.0387, allocations: 1.617 MB / 374.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009838/0.03968, allocations: 288 kB / 375.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.0417, allocations: 0.9283 MB / 376.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001643/0.04334, allocations: 1.691 MB / 377.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.04523, allocations: 1.102 MB / 378.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006063/0.05129, allocations: 3.996 MB / 382.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.0513, allocations: 0 / 382.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.0513, allocations: 0 / 382.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002606/0.05156, allocations: 3.938 kB / 382.9 MB, free: 6.098 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.007745/0.05931, allocations: 4.568 MB / 387.4 MB, free: 1.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.05936, allocations: 8.031 kB / 387.4 MB, free: 1.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004522/0.06388, allocations: 2.276 MB / 389.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.06679, allocations: 1.675 MB / 391.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.06696, allocations: 226.2 kB / 391.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005052/0.06746, allocations: 300.2 kB / 391.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.08092, allocations: 6.763 MB / 398.7 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/0.0811, allocations: 35.64 kB / 398.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006176/0.08171, allocations: 147.9 kB / 398.8 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002058/0.08377, allocations: 1.919 MB / 400.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.09412, allocations: 3.994 MB / 404.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03495/0.1291, allocations: 40.22 MB / 445 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005215/0.1343, allocations: 2.365 MB / 447.3 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009268/0.1352, allocations: 0.5672 MB / 447.9 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1728/0.308, allocations: 4.054 MB / 452 MB, free: 98.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.3081, allocations: 55.14 kB / 452 MB, free: 98.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 4.308e-06/0.3081, allocations: 0 / 452 MB, free: 98.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.0255/0.3336, allocations: 12.59 MB / 464.6 MB, free: 95.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.3336, allocations: 146.9 kB / 464.7 MB, free: 95.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.3364, allocations: 3.05 MB / 467.8 MB, free: 94.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.3365, allocations: 45.39 kB / 467.8 MB, free: 94.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.3378, allocations: 3.186 MB / 471 MB, free: 92.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/0.3382, allocations: 0.7041 MB / 471.7 MB, free: 92.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009192/0.3391, allocations: 1.269 MB / 473 MB, free: 91.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.3392, allocations: 0.5338 MB / 473.5 MB, free: 90.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008661/0.3401, allocations: 0.6412 MB / 474.2 MB, free: 90.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/0.343, allocations: 6.104 MB / 480.3 MB, free: 81.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/0.3481, allocations: 7.455 MB / 487.7 MB, free: 72.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.3482, allocations: 36 kB / 487.8 MB, free: 71.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.007722/0.3559, allocations: 5.214 MB / 493 MB, free: 66.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.356, allocations: 60 kB / 493 MB, free: 66.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.3561, allocations: 132 kB / 493.2 MB, free: 66.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008123/0.3569, allocations: 358.4 kB / 493.5 MB, free: 66.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/0.3599, allocations: 1.369 MB / 494.9 MB, free: 64.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001608/0.3601, allocations: 255 kB / 495.1 MB, free: 64.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.363, allocations: 314.4 kB / 495.4 MB, free: 64.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/0.3634, allocations: 360 kB / 495.8 MB, free: 63.94 MB / 378.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.001199/0.3646, allocations: 0.6484 MB / 496.4 MB, free: 63.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/0.3651, allocations: 330.1 kB / 496.8 MB, free: 62.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.367, allocations: 1.238 MB / 498 MB, free: 61.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.367, allocations: 16 kB / 498 MB, free: 61.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.367, allocations: 4 kB / 498 MB, free: 61.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.367, allocations: 7.969 kB / 498 MB, free: 61.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007149/0.3742, allocations: 4.522 MB / 0.4908 GB, free: 57.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.3742, allocations: 0.75 kB / 0.4908 GB, free: 57.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/0.375, allocations: 279.8 kB / 0.491 GB, free: 56.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006411/0.3757, allocations: 187.1 kB / 0.4912 GB, free: 56.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.391e-05/0.3758, allocations: 35.94 kB / 0.4912 GB, free: 56.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.3758, allocations: 10.62 kB / 0.4913 GB, free: 56.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3758, allocations: 4 kB / 0.4913 GB, free: 56.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.3787, allocations: 2.344 MB / 0.4936 GB, free: 54.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/0.3794, allocations: 405.9 kB / 0.4939 GB, free: 53.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.3796, allocations: 28 kB / 0.494 GB, free: 53.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/0.3803, allocations: 63.92 kB / 0.494 GB, free: 53.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.3805, allocations: 92.77 kB / 0.4941 GB, free: 53.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.3806, allocations: 54.28 kB / 0.4942 GB, free: 53.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001472/0.382, allocations: 1.245 MB / 0.4954 GB, free: 52.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.382, allocations: 0 / 0.4954 GB, free: 52.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003788/0.3858, allocations: 0.8571 MB / 0.4962 GB, free: 51.44 MB / 378.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.0003669/0.3862, allocations: 165.5 kB / 0.4964 GB, free: 51.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004775/0.391, allocations: 2.902 MB / 0.4992 GB, free: 48.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.391, allocations: 4 kB / 0.4992 GB, free: 48.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.3922, allocations: 0.7269 MB / 0.4999 GB, free: 47.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.3938, allocations: 289.6 kB / 0.5002 GB, free: 47.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.4051, allocations: 6.985 MB / 0.507 GB, free: 40.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008427/0.4059, allocations: 1.095 MB / 0.5081 GB, free: 39.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001983/0.4079, allocations: 1.511 MB / 0.5096 GB, free: 37.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.4083, allocations: 212.5 kB / 0.5098 GB, free: 37.46 MB / 378.7 MB Notification: Performance of SimCode: time 4.108e-06/0.4083, allocations: 1.312 kB / 0.5098 GB, free: 37.46 MB / 378.7 MB Notification: Performance of Templates: time 0.03337/0.4417, allocations: 21.68 MB / 0.5309 GB, free: 15.98 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.180927257984877]