Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008271/0.000827, allocations: 86.62 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.197/0.197, allocations: 43.48 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.485e-05/1.488e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.5084, allocations: 103.8 MB / 0.5673 GB, free: 7.855 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.5087, allocations: 78.42 kB / 0.5674 GB, free: 7.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3011/0.8098, allocations: 124 MB / 0.6885 GB, free: 3.449 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.8098, allocations: 4 kB / 0.6885 GB, free: 3.445 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003584/0.8102, allocations: 140 kB / 0.6886 GB, free: 3.309 MB / 490.7 MB 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.02357/0.8338, allocations: 6.718 MB / 0.6952 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.8338, allocations: 12.03 kB / 0.6952 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.8468, allocations: 2.81 MB / 0.698 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.8577, allocations: 3.879 MB / 0.7018 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.8582, allocations: 244 kB / 0.702 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003507/0.8617, allocations: 443.8 kB / 0.7024 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.544/1.406, allocations: 11.27 MB / 0.7134 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04326/1.449, allocations: 15.99 MB / 0.729 GB, free: 96.75 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004121/1.45, allocations: 82.47 kB / 0.7291 GB, free: 96.75 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002724/1.452, allocations: 36.41 kB / 0.7291 GB, free: 96.75 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002781/1.455, allocations: 1.951 MB / 0.7311 GB, free: 96.74 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08892/1.544, allocations: 72.97 MB / 0.8023 GB, free: 55.21 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008453/1.553, allocations: 7.469 MB / 0.8096 GB, free: 51.66 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007041/1.56, allocations: 5.547 MB / 0.815 GB, free: 49.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009751/1.561, allocations: 1.116 MB / 0.8161 GB, free: 48.39 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/1.561, allocations: 88.61 kB / 0.8162 GB, free: 48.32 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=392): time 7.494e-06/1.561, allocations: 0 / 0.8162 GB, free: 48.32 MB / 0.4949 GB Notification: Performance of matching and sorting (n=537): time 0.1214/1.682, allocations: 59.38 MB / 0.8742 GB, free: 6.914 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/1.682, allocations: 261.3 kB / 0.8744 GB, free: 6.609 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005728/1.688, allocations: 3.611 MB / 0.878 GB, free: 3.531 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001583/1.69, allocations: 29.27 kB / 0.878 GB, free: 3.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002747/1.692, allocations: 4.587 MB / 0.8825 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003202/1.696, allocations: 1.856 MB / 0.8843 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007804/1.696, allocations: 0 / 0.8843 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005741/1.697, allocations: 0.7488 MB / 0.885 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008521/1.705, allocations: 5.443 MB / 0.8903 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3562/2.062, allocations: 10.43 MB / 0.9005 GB, free: 101 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/2.077, allocations: 7.481 MB / 0.9078 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002958/2.077, allocations: 49.28 kB / 0.9079 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.03845/2.116, allocations: 17.58 MB / 0.925 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/2.116, allocations: 83.27 kB / 0.9251 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002283/2.116, allocations: 177.2 kB / 0.9253 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00771/2.124, allocations: 3.073 MB / 0.9283 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/2.134, allocations: 2.464 MB / 0.9307 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/2.155, allocations: 22.66 MB / 0.9528 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009105/2.164, allocations: 416.1 kB / 0.9532 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002869/2.167, allocations: 0.5712 MB / 0.9538 GB, free: 90.4 MB / 0.5105 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.003018/2.17, allocations: 0.5802 MB / 0.9543 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/2.171, allocations: 495.5 kB / 0.9548 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/2.192, allocations: 12.91 MB / 0.9674 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001306/2.193, allocations: 53.69 kB / 0.9675 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.56e-05/2.193, allocations: 18.91 kB / 0.9675 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002114/2.193, allocations: 32.02 kB / 0.9675 GB, free: 86.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04517/2.238, allocations: 25.01 MB / 0.9919 GB, free: 76.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/2.238, allocations: 2.844 kB / 0.9919 GB, free: 76.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005351/2.244, allocations: 0.9251 MB / 0.9929 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008417/2.252, allocations: 3.273 MB / 0.996 GB, free: 75.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001247/2.253, allocations: 25.89 kB / 0.9961 GB, free: 75.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/2.27, allocations: 19.99 MB / 1.016 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/2.27, allocations: 7.125 kB / 1.016 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02724/2.297, allocations: 20.87 MB / 1.036 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003964/2.301, allocations: 1.55 MB / 1.038 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/2.303, allocations: 12 kB / 1.038 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/2.307, allocations: 295.8 kB / 1.038 GB, free: 41.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007924/2.307, allocations: 345.5 kB / 1.038 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003854/2.308, allocations: 135.8 kB / 1.038 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003516/2.311, allocations: 2.334 MB / 1.041 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/2.311, allocations: 0 / 1.041 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01161/2.323, allocations: 1.796 MB / 1.042 GB, free: 37.07 MB / 0.5105 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.001287/2.324, allocations: 197.5 kB / 1.042 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02085/2.345, allocations: 14.33 MB / 1.056 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.345, allocations: 1.562 kB / 1.056 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01147/2.357, allocations: 7.868 MB / 1.064 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/2.36, allocations: 363.7 kB / 1.065 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03071/2.391, allocations: 16.99 MB / 1.081 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0103/2.401, allocations: 5.359 MB / 1.086 GB, free: 12.34 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01113/2.412, allocations: 3.262 MB / 1.09 GB, free: 9.074 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3066/2.719, allocations: 410.9 kB / 1.09 GB, free: 105.1 MB / 0.5262 GB Notification: Performance of SimCode: time 1.062e-06/2.719, allocations: 0 / 1.09 GB, free: 105.1 MB / 0.5262 GB Notification: Performance of Templates: time 0.1226/2.841, allocations: 79.3 MB / 1.167 GB, free: 94.24 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperParallel/SpringDamperParallel.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches