Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00216/0.002163, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2838/0.2838, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.254e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1489, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5786/0.7276, allocations: 106.3 MB / 0.5766 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.728, allocations: 78.02 kB / 0.5767 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3059/1.034, allocations: 71.25 MB / 0.6463 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.438e-06/1.034, allocations: 0 / 0.6463 GB, free: 14.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002242/1.034, allocations: 75.88 kB / 0.6463 GB, free: 14.05 MB / 458.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.01462/1.049, allocations: 3.619 MB / 0.6499 GB, free: 10.37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.049, allocations: 11.97 kB / 0.6499 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/1.064, allocations: 2.069 MB / 0.6519 GB, free: 8.281 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007753/1.072, allocations: 2.072 MB / 0.6539 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004829/1.073, allocations: 304 kB / 0.6542 GB, free: 5.855 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002406/1.075, allocations: 403.8 kB / 0.6546 GB, free: 5.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03844/1.114, allocations: 11.04 MB / 0.6654 GB, free: 9.469 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002923/1.114, allocations: 59.45 kB / 0.6655 GB, free: 9.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001821/1.116, allocations: 195.9 kB / 0.6656 GB, free: 9.219 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002764/1.119, allocations: 1.073 MB / 0.6667 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03362/1.152, allocations: 9.372 MB / 0.6758 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4601/1.612, allocations: 45.86 MB / 0.7206 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02873/1.641, allocations: 4.238 MB / 0.7248 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008401/1.65, allocations: 2.296 MB / 0.727 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02143/1.671, allocations: 5.766 MB / 0.7326 GB, free: 97.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.036e-05/1.671, allocations: 55.44 kB / 0.7327 GB, free: 97.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 9.237e-06/1.671, allocations: 0 / 0.7327 GB, free: 97.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=224): time 0.1449/1.816, allocations: 21.87 MB / 0.754 GB, free: 94.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/1.816, allocations: 152.4 kB / 0.7542 GB, free: 94.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006792/1.823, allocations: 2.981 MB / 0.7571 GB, free: 94.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005824/1.824, allocations: 58.27 kB / 0.7572 GB, free: 93.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002288/1.826, allocations: 2.771 MB / 0.7599 GB, free: 92.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.828, allocations: 0.8367 MB / 0.7607 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008511/1.828, allocations: 117.6 kB / 0.7608 GB, free: 91.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005073/1.829, allocations: 0.5679 MB / 0.7613 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006227/1.835, allocations: 2.513 MB / 0.7638 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008423/1.844, allocations: 5.939 MB / 0.7696 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008584/1.852, allocations: 3.845 MB / 0.7734 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/1.852, allocations: 36.94 kB / 0.7734 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02473/1.877, allocations: 9.002 MB / 0.7822 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-05/1.877, allocations: 55.31 kB / 0.7822 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001895/1.878, allocations: 119.6 kB / 0.7823 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004824/1.882, allocations: 1.065 MB / 0.7834 GB, free: 80.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009429/1.892, allocations: 1.421 MB / 0.7848 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/1.9, allocations: 5.381 MB / 0.79 GB, free: 76.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007061/1.907, allocations: 327.4 kB / 0.7903 GB, free: 76.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.908, allocations: 360.8 kB / 0.7907 GB, free: 76.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 738 * 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: 2 * 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: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00246/1.911, allocations: 0.5536 MB / 0.7912 GB, free: 75.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009392/1.912, allocations: 315.8 kB / 0.7915 GB, free: 75.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.925, allocations: 4.515 MB / 0.7959 GB, free: 72.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.349e-05/1.925, allocations: 25.64 kB / 0.796 GB, free: 72.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/1.925, allocations: 4 kB / 0.796 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.845e-05/1.925, allocations: 9.984 kB / 0.796 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02768/1.953, allocations: 9.932 MB / 0.8057 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/1.953, allocations: 4 kB / 0.8057 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004142/1.957, allocations: 382.8 kB / 0.806 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004332/1.962, allocations: 0.8734 MB / 0.8069 GB, free: 63.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005829/1.962, allocations: 39.84 kB / 0.8069 GB, free: 63.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006381/1.969, allocations: 4.728 MB / 0.8116 GB, free: 58.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.969, allocations: 0 / 0.8116 GB, free: 58.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/1.986, allocations: 7.856 MB / 0.8192 GB, free: 51.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/1.989, allocations: 0.7565 MB / 0.82 GB, free: 51.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009997/1.99, allocations: 40.5 kB / 0.82 GB, free: 51.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/1.993, allocations: 118 kB / 0.8201 GB, free: 51.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006145/1.994, allocations: 126.3 kB / 0.8202 GB, free: 51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/1.994, allocations: 68.78 kB / 0.8203 GB, free: 50.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004569/1.999, allocations: 2.031 MB / 0.8223 GB, free: 49.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.22e-07/1.999, allocations: 0 / 0.8223 GB, free: 49.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006313/2.005, allocations: 1.012 MB / 0.8233 GB, free: 48.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 183 * 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: 2 * 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: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00082/2.006, allocations: 195.2 kB / 0.8235 GB, free: 47.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01511/2.021, allocations: 6.596 MB / 0.8299 GB, free: 41.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/2.021, allocations: 0 / 0.8299 GB, free: 41.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00711/2.028, allocations: 2.752 MB / 0.8326 GB, free: 39.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/2.031, allocations: 303.7 kB / 0.8329 GB, free: 39.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/2.053, allocations: 8.459 MB / 0.8411 GB, free: 31.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005871/2.059, allocations: 3.135 MB / 0.8442 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/2.061, allocations: 289.8 kB / 0.8445 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.273e-06/2.061, allocations: 0 / 0.8445 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.8459/2.907, allocations: 120.7 MB / 0.9623 GB, free: 135.2 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches