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.0009607/0.0009607, 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.0008857/0.0008857, 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.9224/0.9224, allocations: 177.1 MB / 205 MB, free: 5.629 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.2433/0.2433, allocations: 32.8 MB / 294.3 MB, free: 1.188 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.773e-06/1.773e-06, allocations: 0 / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.176e-05, allocations: 2.312 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01862/0.01865, allocations: 10.21 MB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005654/0.02431, allocations: 3.178 MB / 389.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.02585, allocations: 59.75 kB / 389.5 MB, free: 7.113 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.0293, allocations: 2.546 MB / 392 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.03163, allocations: 1.309 MB / 393.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009596/0.03259, allocations: 0.5455 MB / 393.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003144/0.03574, allocations: 2.993 MB / 396.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.03834, allocations: 2.528 MB / 399.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.04061, allocations: 2.003 MB / 401.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.04249, allocations: 1.609 MB / 403 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004486/0.04294, allocations: 291.9 kB / 403.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.04428, allocations: 0.94 MB / 404.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.04543, allocations: 1.671 MB / 405.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.04777, allocations: 1.079 MB / 407 MB, free: 5.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004224/0.05199, allocations: 3.954 MB / 410.9 MB, free: 1.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.052, allocations: 4 kB / 410.9 MB, free: 1.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.052, allocations: 0 / 410.9 MB, free: 1.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.341e-05/0.05207, allocations: 0 / 410.9 MB, free: 1.539 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.005213/0.05728, allocations: 4.561 MB / 415.5 MB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.05732, allocations: 12.03 kB / 415.5 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.0609, allocations: 2.272 MB / 417.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.06263, allocations: 1.655 MB / 419.4 MB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.06275, allocations: 230.2 kB / 419.7 MB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.06308, allocations: 304.2 kB / 420 MB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008537/0.07162, allocations: 6.771 MB / 426.7 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.47e-05/0.07168, allocations: 31.75 kB / 426.8 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.07193, allocations: 147.9 kB / 426.9 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/0.07353, allocations: 1.919 MB / 428.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006969/0.08049, allocations: 4.021 MB / 432.9 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1815/0.262, allocations: 40.2 MB / 473.1 MB, free: 62.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005566/0.2675, allocations: 2.379 MB / 475.4 MB, free: 62.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.2683, allocations: 0.579 MB / 476 MB, free: 62.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004281/0.2726, allocations: 4.06 MB / 480.1 MB, free: 60.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2727, allocations: 55.33 kB / 480.1 MB, free: 60.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 3.456e-06/0.2727, allocations: 0 / 480.1 MB, free: 60.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.02867/0.3013, allocations: 12.6 MB / 492.7 MB, free: 57.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3014, allocations: 144.5 kB / 492.9 MB, free: 56.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/0.3046, allocations: 3.041 MB / 495.9 MB, free: 55.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.867e-05/0.3046, allocations: 50.92 kB / 496 MB, free: 55.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.3061, allocations: 3.195 MB / 499.1 MB, free: 53.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.3065, allocations: 0.6938 MB / 499.8 MB, free: 52.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.3078, allocations: 1.273 MB / 0.4894 GB, free: 52.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3079, allocations: 0.5256 MB / 0.4899 GB, free: 51.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.3093, allocations: 0.6416 MB / 0.4905 GB, free: 51.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/0.3125, allocations: 6.105 MB / 0.4965 GB, free: 44.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005369/0.3178, allocations: 7.459 MB / 0.5038 GB, free: 35.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.734e-05/0.3179, allocations: 37.12 kB / 0.5038 GB, free: 35.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.007113/0.325, allocations: 5.206 MB / 0.5089 GB, free: 33.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.3251, allocations: 61 kB / 0.5089 GB, free: 33.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/0.3252, allocations: 129.1 kB / 0.5091 GB, free: 33.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007268/0.3259, allocations: 363 kB / 0.5094 GB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.3279, allocations: 1.379 MB / 0.5108 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.795e-05/0.328, allocations: 260.5 kB / 0.511 GB, free: 33.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.3296, allocations: 302.8 kB / 0.5113 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.3299, allocations: 359.4 kB / 0.5116 GB, free: 33.49 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.0008164/0.3307, allocations: 0.649 MB / 0.5123 GB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.331, allocations: 331 kB / 0.5126 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.3324, allocations: 1.217 MB / 0.5138 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.3325, allocations: 20.78 kB / 0.5138 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.3325, allocations: 3.25 kB / 0.5138 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.3325, allocations: 6.891 kB / 0.5138 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005328/0.3378, allocations: 4.534 MB / 0.5182 GB, free: 29.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3378, allocations: 4.844 kB / 0.5182 GB, free: 29.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/0.3384, allocations: 273.3 kB / 0.5185 GB, free: 29.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/0.339, allocations: 190 kB / 0.5187 GB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.339, allocations: 29.69 kB / 0.5187 GB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.339, allocations: 8 kB / 0.5187 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.339, allocations: 4.516 kB / 0.5187 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.3413, allocations: 2.349 MB / 0.521 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.3414, allocations: 241.8 kB / 0.5212 GB, free: 26.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.3416, allocations: 28.61 kB / 0.5213 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.3421, allocations: 62.56 kB / 0.5213 GB, free: 26.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.3422, allocations: 103 kB / 0.5214 GB, free: 26.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/0.3423, allocations: 51.81 kB / 0.5215 GB, free: 26.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.3434, allocations: 1.239 MB / 0.5227 GB, free: 25.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3434, allocations: 0 / 0.5227 GB, free: 25.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001971/0.3454, allocations: 0.8369 MB / 0.5235 GB, free: 24.44 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.0002906/0.3457, allocations: 169.8 kB / 0.5237 GB, free: 24.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.3487, allocations: 2.898 MB / 0.5265 GB, free: 21.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3487, allocations: 0 / 0.5265 GB, free: 21.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009018/0.3496, allocations: 0.7324 MB / 0.5272 GB, free: 21.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.3505, allocations: 287.7 kB / 0.5275 GB, free: 20.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007005/0.3575, allocations: 6.981 MB / 0.5343 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00078/0.3583, allocations: 1.088 MB / 0.5354 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001902/0.3602, allocations: 1.509 MB / 0.5368 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.3605, allocations: 211.8 kB / 0.537 GB, free: 12.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/0.3605, allocations: 0 / 0.537 GB, free: 12.55 MB / 410.7 MB Notification: Performance of Templates: time 0.03111/0.3916, allocations: 21.66 MB / 0.5582 GB, free: 8.242 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 -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.285988171119243]