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.001353/0.001354, allocations: 176.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007697/0.0007698, allocations: 81.5 kB / 270.9 MB, free: 8.363 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.3911/0.3911, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003975, allocations: 16 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1271, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2554/0.3826, allocations: 34.86 MB / 0.5128 GB, free: 25.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02056/0.4032, allocations: 7.472 MB / 0.5201 GB, free: 20.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008984/0.4122, allocations: 157.5 kB / 0.5202 GB, free: 20.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006261/0.4185, allocations: 1.786 MB / 0.522 GB, free: 20.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01477/0.4333, allocations: 4.959 MB / 0.5268 GB, free: 18.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.4362, allocations: 419.8 kB / 0.5272 GB, free: 17.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005133/0.4414, allocations: 3.479 MB / 0.5306 GB, free: 16.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006571/0.448, allocations: 3.781 MB / 0.5343 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.4505, allocations: 1.001 MB / 0.5353 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00307/0.4536, allocations: 1.566 MB / 0.5368 GB, free: 14.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009596/0.4546, allocations: 128.1 kB / 0.5369 GB, free: 14.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.457, allocations: 0.7374 MB / 0.5377 GB, free: 14.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003894/0.461, allocations: 1.391 MB / 0.539 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002724/0.4637, allocations: 0.7527 MB / 0.5398 GB, free: 13.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009264/0.473, allocations: 4.785 MB / 0.5444 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.473, allocations: 0 / 0.5444 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.473, allocations: 0 / 0.5444 GB, free: 11.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000415/0.4735, allocations: 0 / 0.5444 GB, free: 11.77 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.01122/0.4847, allocations: 3.515 MB / 0.5479 GB, free: 9.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4848, allocations: 9.031 kB / 0.5479 GB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007282/0.4921, allocations: 1.855 MB / 0.5497 GB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005181/0.4973, allocations: 1.723 MB / 0.5514 GB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.4976, allocations: 231.4 kB / 0.5516 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/0.4992, allocations: 296.8 kB / 0.5519 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/0.5246, allocations: 10.61 MB / 0.5622 GB, free: 280 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000223/0.5248, allocations: 35.66 kB / 0.5623 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001319/0.5262, allocations: 147.8 kB / 0.5624 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003859/0.5301, allocations: 2.04 MB / 0.5644 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02299/0.5531, allocations: 9.296 MB / 0.5735 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05663/0.6098, allocations: 38.03 MB / 0.6106 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.6208, allocations: 4.16 MB / 0.6147 GB, free: 9.391 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/0.6243, allocations: 2.303 MB / 0.6169 GB, free: 7.074 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.6359, allocations: 6.01 MB / 0.6228 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.636, allocations: 55.86 kB / 0.6228 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of pre-optimization done (n=181): time 5.681e-06/0.636, allocations: 0 / 0.6228 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of matching and sorting (n=210): time 0.0675/0.7035, allocations: 21.93 MB / 0.6443 GB, free: 10.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.7037, allocations: 153.8 kB / 0.6444 GB, free: 10.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006403/0.7101, allocations: 3.363 MB / 0.6477 GB, free: 7.086 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004995/0.7106, allocations: 57.7 kB / 0.6477 GB, free: 7.023 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002206/0.7129, allocations: 2.801 MB / 0.6505 GB, free: 4.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.7141, allocations: 0.7904 MB / 0.6513 GB, free: 3.379 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.7144, allocations: 124 kB / 0.6514 GB, free: 3.258 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003637/0.7148, allocations: 0.558 MB / 0.6519 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/0.7184, allocations: 2.303 MB / 0.6542 GB, free: 388 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006042/0.7245, allocations: 5.765 MB / 0.6598 GB, free: 8.898 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005943/0.7305, allocations: 3.57 MB / 0.6633 GB, free: 5.324 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-05/0.7306, allocations: 36 kB / 0.6633 GB, free: 5.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01689/0.7475, allocations: 8.628 MB / 0.6717 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.328e-05/0.7476, allocations: 56 kB / 0.6718 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/0.7477, allocations: 124 kB / 0.6719 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/0.7505, allocations: 1.062 MB / 0.673 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004905/0.7554, allocations: 1.376 MB / 0.6743 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005556/0.761, allocations: 5.403 MB / 0.6796 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00462/0.7656, allocations: 331.4 kB / 0.6799 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009026/0.7665, allocations: 360 kB / 0.6802 GB, free: 3.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (734): * Single equations (assignments): 727 * 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.00384/0.7704, allocations: 1.943 MB / 0.6821 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006088/0.771, allocations: 308 kB / 0.6824 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2214/0.9925, allocations: 3.93 MB / 0.6863 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.263e-05/0.9926, allocations: 25.72 kB / 0.6863 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.9926, allocations: 4.406 kB / 0.6863 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/0.9926, allocations: 11.88 kB / 0.6863 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/1.008, allocations: 8.871 MB / 0.695 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/1.008, allocations: 4.672 kB / 0.695 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/1.01, allocations: 350.4 kB / 0.6953 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/1.012, allocations: 0.8696 MB / 0.6962 GB, free: 150 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002576/1.013, allocations: 35.19 kB / 0.6962 GB, free: 150 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/1.017, allocations: 4.744 MB / 0.7008 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.017, allocations: 3.938 kB / 0.7008 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0096/1.026, allocations: 6.852 MB / 0.7075 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/1.028, allocations: 0.6808 MB / 0.7082 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004579/1.028, allocations: 30.56 kB / 0.7082 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.03, allocations: 116.7 kB / 0.7083 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/1.03, allocations: 128.7 kB / 0.7084 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.03, allocations: 56.41 kB / 0.7085 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003099/1.033, allocations: 2.065 MB / 0.7105 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.033, allocations: 0 / 0.7105 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00482/1.038, allocations: 0.9714 MB / 0.7115 GB, free: 142.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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.0005257/1.039, allocations: 176.7 kB / 0.7116 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009186/1.048, allocations: 6.087 MB / 0.7176 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.048, allocations: 0 / 0.7176 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004117/1.052, allocations: 2.466 MB / 0.72 GB, free: 139 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.055, allocations: 332.2 kB / 0.7203 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/1.075, allocations: 11.16 MB / 0.7312 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00489/1.08, allocations: 3.036 MB / 0.7342 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.082, allocations: 280.5 kB / 0.7344 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.353e-06/1.082, allocations: 4 kB / 0.7344 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.1245/1.206, allocations: 123.9 MB / 0.8554 GB, free: 15.78 MB / 0.4948 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/jenkins/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