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.001234/0.001234, allocations: 178.8 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 242.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007756/0.0007756, allocations: 96.55 kB / 293.3 MB, free: 10.55 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.282/0.282, allocations: 44.15 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 15.98 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2677, allocations: 61.87 MB / 0.5107 GB, free: 37.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.385, allocations: 106 MB / 0.6142 GB, free: 5.086 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.3853, allocations: 83.95 kB / 0.6143 GB, free: 5.008 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4604/0.8458, allocations: 128.2 MB / 0.7395 GB, free: 88.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.8458, allocations: 7.938 kB / 0.7395 GB, free: 88.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002946/0.8461, allocations: 140.2 kB / 0.7396 GB, free: 88.76 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.0172/0.8633, allocations: 6.515 MB / 0.746 GB, free: 85.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.8634, allocations: 10.25 kB / 0.746 GB, free: 85.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009627/0.873, allocations: 2.644 MB / 0.7486 GB, free: 84.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008169/0.8812, allocations: 3.937 MB / 0.7524 GB, free: 82.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/0.8816, allocations: 0.551 MB / 0.753 GB, free: 82.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002748/0.8844, allocations: 0.7413 MB / 0.7537 GB, free: 82.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03791/0.9223, allocations: 20.4 MB / 0.7736 GB, free: 71.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002556/0.9226, allocations: 87.33 kB / 0.7737 GB, free: 70.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/0.9238, allocations: 359.8 kB / 0.7741 GB, free: 70.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002066/0.9259, allocations: 1.957 MB / 0.776 GB, free: 68.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03237/0.9583, allocations: 17.94 MB / 0.7935 GB, free: 50.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07837/1.037, allocations: 74.85 MB / 0.8666 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2423/1.279, allocations: 8.376 MB / 0.8748 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006467/1.286, allocations: 5.792 MB / 0.8804 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02713/1.313, allocations: 19.78 MB / 0.8997 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/1.313, allocations: 77.89 kB / 0.8998 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 8.256e-06/1.313, allocations: 0 / 0.8998 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 0.2767/1.59, allocations: 90.93 MB / 0.9886 GB, free: 64.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/1.59, allocations: 190.5 kB / 0.9888 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009273/1.599, allocations: 5.106 MB / 0.9938 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001458/1.6, allocations: 109.7 kB / 0.9939 GB, free: 59.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002456/1.603, allocations: 4.527 MB / 0.9983 GB, free: 54.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002331/1.605, allocations: 1.905 MB / 1 GB, free: 52.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/1.607, allocations: 204 kB / 1 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004346/1.607, allocations: 0.7358 MB / 1.001 GB, free: 51.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007188/1.614, allocations: 5.576 MB / 1.007 GB, free: 46.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009329/1.624, allocations: 10.49 MB / 1.017 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/1.642, allocations: 17.38 MB / 1.034 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001545/1.642, allocations: 51.98 kB / 1.034 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03844/1.681, allocations: 18.68 MB / 1.052 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002402/1.681, allocations: 76 kB / 1.052 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003316/1.681, allocations: 168 kB / 1.052 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008532/1.69, allocations: 3.128 MB / 1.055 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/1.7, allocations: 2.386 MB / 1.058 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2964/1.997, allocations: 24.25 MB / 1.081 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007764/2.005, allocations: 0.5787 MB / 1.082 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/2.007, allocations: 0.5607 MB / 1.082 GB, free: 119.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 768 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1217 * 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.006679/2.013, allocations: 3.327 MB / 1.086 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/2.015, allocations: 0.5461 MB / 1.086 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02458/2.039, allocations: 13.3 MB / 1.099 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001195/2.039, allocations: 61 kB / 1.099 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.156e-05/2.039, allocations: 12.41 kB / 1.099 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001254/2.04, allocations: 25.67 kB / 1.099 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06774/2.107, allocations: 26.15 MB / 1.125 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-05/2.107, allocations: 6.281 kB / 1.125 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007035/2.114, allocations: 0.9083 MB / 1.126 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008726/2.123, allocations: 3.331 MB / 1.129 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/2.124, allocations: 100.8 kB / 1.129 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/2.141, allocations: 21.12 MB / 1.15 GB, free: 92.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/2.141, allocations: 6.844 kB / 1.15 GB, free: 92.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02801/2.169, allocations: 20.64 MB / 1.17 GB, free: 84.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/2.171, allocations: 0.5857 MB / 1.17 GB, free: 83.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001783/2.173, allocations: 86.77 kB / 1.171 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/2.177, allocations: 364.8 kB / 1.171 GB, free: 83.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/2.178, allocations: 346.1 kB / 1.171 GB, free: 83.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004007/2.178, allocations: 131.8 kB / 1.171 GB, free: 83.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005064/2.183, allocations: 3.14 MB / 1.174 GB, free: 82.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.533e-06/2.183, allocations: 0 / 1.174 GB, free: 82.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01099/2.194, allocations: 2.081 MB / 1.176 GB, free: 82.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (448): * Single equations (assignments): 430 * 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.00106/2.195, allocations: 299.7 kB / 1.177 GB, free: 82.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02001/2.215, allocations: 14.72 MB / 1.191 GB, free: 72.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/2.215, allocations: 0 / 1.191 GB, free: 72.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/2.227, allocations: 7.973 MB / 1.199 GB, free: 65.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009547/2.236, allocations: 0.647 MB / 1.2 GB, free: 64.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03459/2.271, allocations: 22.83 MB / 1.222 GB, free: 44.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006519/2.277, allocations: 5.131 MB / 1.227 GB, free: 40.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007744/2.285, allocations: 3.207 MB / 1.23 GB, free: 38.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/2.287, allocations: 453.3 kB / 1.23 GB, free: 37.96 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/2.287, allocations: 0 / 1.23 GB, free: 37.96 MB / 0.5417 GB Notification: Performance of Templates: time 0.4228/2.71, allocations: 87.79 MB / 1.316 GB, free: 134.9 MB / 0.5573 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/jenkins1/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