Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.0008761, allocations: 108.5 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.303e-05/1.317e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5379, allocations: 105.1 MB / 0.5973 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5382, allocations: 79.95 kB / 0.5974 GB, free: 7.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6347/1.173, allocations: 125.7 MB / 0.7201 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.737e-06/1.173, allocations: 0 / 0.7201 GB, free: 67.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003603/1.173, allocations: 133.5 kB / 0.7202 GB, free: 67.21 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.02549/1.199, allocations: 6.728 MB / 0.7268 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.199, allocations: 11.77 kB / 0.7268 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/1.213, allocations: 2.8 MB / 0.7296 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/1.228, allocations: 3.873 MB / 0.7333 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006901/1.229, allocations: 243.9 kB / 0.7336 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005258/1.234, allocations: 438.7 kB / 0.734 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02242/1.257, allocations: 11.28 MB / 0.745 GB, free: 63.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03531/1.292, allocations: 15.99 MB / 0.7606 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00047/1.293, allocations: 85.59 kB / 0.7607 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003923/1.297, allocations: 34.44 kB / 0.7607 GB, free: 60.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003582/1.3, allocations: 1.954 MB / 0.7627 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08401/1.384, allocations: 72.97 MB / 0.8339 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008349/1.393, allocations: 7.464 MB / 0.8412 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005933/1.399, allocations: 5.553 MB / 0.8466 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008694/1.399, allocations: 1.115 MB / 0.8477 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/1.4, allocations: 80.42 kB / 0.8478 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=392): time 6.192e-06/1.4, allocations: 0 / 0.8478 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537): time 0.1392/1.539, allocations: 59.77 MB / 0.9062 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.539, allocations: 265.3 kB / 0.9064 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006702/1.546, allocations: 3.596 MB / 0.9099 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001544/1.547, allocations: 29.7 kB / 0.9099 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003715/1.551, allocations: 4.575 MB / 0.9144 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003047/1.554, allocations: 1.872 MB / 0.9162 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008321/1.555, allocations: 0 / 0.9162 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0006219/1.556, allocations: 0.7403 MB / 0.917 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008442/1.564, allocations: 5.44 MB / 0.9223 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3456/1.91, allocations: 10.43 MB / 0.9325 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.921, allocations: 7.488 MB / 0.9398 GB, free: 98.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003039/1.921, allocations: 50.16 kB / 0.9398 GB, free: 98.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.03648/1.958, allocations: 17.57 MB / 0.957 GB, free: 98.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/1.958, allocations: 81.19 kB / 0.9571 GB, free: 98.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/1.958, allocations: 174.2 kB / 0.9572 GB, free: 98.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007464/1.966, allocations: 3.074 MB / 0.9602 GB, free: 98.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/1.976, allocations: 2.463 MB / 0.9626 GB, free: 98.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/1.996, allocations: 22.65 MB / 0.9848 GB, free: 88.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009334/2.005, allocations: 412.7 kB / 0.9851 GB, free: 88.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00276/2.008, allocations: 0.5768 MB / 0.9857 GB, free: 88.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 794 * Number of states: 0 () * Number of discrete variables: 72 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],springDamperParallel2.color_b[3],springDamperParallel2.color_b[2],springDamperParallel2.color_b[1],springDamperParallel2.color_a[3],springDamperParallel2.color_a[2],springDamperParallel2.color_a[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],springDamperParallel1.color_b[3],springDamperParallel1.color_b[2],springDamperParallel1.color_b[1],springDamperParallel1.color_a[3],springDamperParallel1.color_a[2],springDamperParallel1.color_a[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[1],springDamperParallel.color_b[3],springDamperParallel.color_b[2],springDamperParallel.color_b[1],springDamperParallel.color_a[3],springDamperParallel.color_a[2],springDamperParallel.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003008/2.011, allocations: 0.5839 MB / 0.9863 GB, free: 88.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/2.013, allocations: 492.3 kB / 0.9868 GB, free: 88.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02093/2.034, allocations: 12.91 MB / 0.9994 GB, free: 87.67 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-05/2.034, allocations: 58.86 kB / 0.9994 GB, free: 87.67 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/2.034, allocations: 13.56 kB / 0.9994 GB, free: 87.67 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.314e-05/2.034, allocations: 25.5 kB / 0.9995 GB, free: 87.67 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0508/2.085, allocations: 25.01 MB / 1.024 GB, free: 78.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.65e-05/2.085, allocations: 3.281 kB / 1.024 GB, free: 78.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007949/2.093, allocations: 0.9233 MB / 1.025 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01318/2.106, allocations: 3.279 MB / 1.028 GB, free: 77.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001633/2.108, allocations: 25.94 kB / 1.028 GB, free: 77.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02889/2.137, allocations: 20.01 MB / 1.048 GB, free: 63.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/2.137, allocations: 3.062 kB / 1.048 GB, free: 63.41 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05204/2.189, allocations: 20.87 MB / 1.068 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/2.191, allocations: 0.4957 MB / 1.068 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002937/2.194, allocations: 12.5 kB / 1.068 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007907/2.202, allocations: 289.2 kB / 1.069 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001953/2.204, allocations: 348.2 kB / 1.069 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009942/2.205, allocations: 134.3 kB / 1.069 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006053/2.211, allocations: 2.326 MB / 1.071 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.11e-07/2.211, allocations: 3.938 kB / 1.071 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01561/2.226, allocations: 1.789 MB / 1.073 GB, free: 52.85 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (454): * Single equations (assignments): 436 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001709/2.228, allocations: 204.5 kB / 1.073 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03313/2.261, allocations: 14.33 MB / 1.087 GB, free: 39.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/2.261, allocations: 0 / 1.087 GB, free: 39.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01786/2.279, allocations: 7.87 MB / 1.095 GB, free: 32.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/2.283, allocations: 363.3 kB / 1.095 GB, free: 31.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04619/2.329, allocations: 16.97 MB / 1.112 GB, free: 16.72 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009541/2.339, allocations: 5.282 MB / 1.117 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01328/2.352, allocations: 3.263 MB / 1.12 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003612/2.356, allocations: 417.6 kB / 1.121 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/2.356, allocations: 0 / 1.121 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of Templates: time 0.4498/2.806, allocations: 79.36 MB / 1.198 GB, free: 135.7 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperParallel/SpringDamperParallel.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches