Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 100.2 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 181 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.196/0.196, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 12 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03152/0.1599, allocations: 32.88 MB / 0.4925 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0185/0.1785, allocations: 7.771 MB / 0.5001 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006703/0.1852, allocations: 155.6 kB / 0.5003 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006217/0.1915, allocations: 1.598 MB / 0.5018 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2776/0.4691, allocations: 4.543 MB / 0.5063 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.4721, allocations: 369.9 kB / 0.5066 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004535/0.4767, allocations: 1.73 MB / 0.5083 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008394/0.4851, allocations: 3.747 MB / 0.512 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.4874, allocations: 0.8306 MB / 0.5128 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.4903, allocations: 1.104 MB / 0.5138 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.4913, allocations: 130.5 kB / 0.514 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.4939, allocations: 0.7288 MB / 0.5147 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.4963, allocations: 1.295 MB / 0.5159 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.4979, allocations: 0.7521 MB / 0.5167 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006054/0.504, allocations: 4.784 MB / 0.5214 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.504, allocations: 1.75 kB / 0.5214 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.504, allocations: 4 kB / 0.5214 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002768/0.5043, allocations: 1.375 kB / 0.5214 GB, free: 11.02 MB / 382.1 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.0109/0.5152, allocations: 3.617 MB / 0.5249 GB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.422e-05/0.5153, allocations: 8.562 kB / 0.5249 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008689/0.524, allocations: 2.178 MB / 0.527 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005412/0.5295, allocations: 1.7 MB / 0.5287 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.5298, allocations: 223.9 kB / 0.5289 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.5314, allocations: 303.6 kB / 0.5292 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02625/0.5577, allocations: 10.74 MB / 0.5397 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/0.5579, allocations: 37.66 kB / 0.5397 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005279/0.5584, allocations: 150 kB / 0.5399 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003253/0.5617, allocations: 2.038 MB / 0.5418 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/0.5823, allocations: 9.446 MB / 0.5511 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05252/0.6348, allocations: 38.49 MB / 0.5887 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/0.6535, allocations: 6.815 MB / 0.5953 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.6649, allocations: 6.39 MB / 0.6015 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/0.665, allocations: 51.88 kB / 0.6016 GB, free: 10.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.891e-06/0.665, allocations: 0 / 0.6016 GB, free: 10.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.08389/0.7489, allocations: 28.14 MB / 0.6291 GB, free: 14.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.749, allocations: 152.9 kB / 0.6292 GB, free: 14.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005741/0.7548, allocations: 3.359 MB / 0.6325 GB, free: 10.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007726/0.7556, allocations: 53.7 kB / 0.6326 GB, free: 10.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.7578, allocations: 2.8 MB / 0.6353 GB, free: 7.891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.7592, allocations: 0.7879 MB / 0.6361 GB, free: 7.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/0.7596, allocations: 120 kB / 0.6362 GB, free: 6.992 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004214/0.76, allocations: 0.5559 MB / 0.6367 GB, free: 6.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0042/0.7642, allocations: 2.405 MB / 0.6391 GB, free: 4.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00709/0.7713, allocations: 5.837 MB / 0.6448 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006747/0.7781, allocations: 3.681 MB / 0.6484 GB, free: 8.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.456e-05/0.7782, allocations: 39.95 kB / 0.6484 GB, free: 8.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0187/0.797, allocations: 8.832 MB / 0.657 GB, free: 164 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.436e-05/0.7971, allocations: 56 kB / 0.6571 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/0.7973, allocations: 120 kB / 0.6572 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/0.8002, allocations: 1.053 MB / 0.6582 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00564/0.8059, allocations: 1.404 MB / 0.6596 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006971/0.8129, allocations: 5.514 MB / 0.665 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/0.8189, allocations: 347.5 kB / 0.6653 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/0.8203, allocations: 356 kB / 0.6656 GB, free: 7.055 MB / 0.4981 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.004998/0.8253, allocations: 1.935 MB / 0.6675 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008373/0.8262, allocations: 311.9 kB / 0.6678 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007491/0.8337, allocations: 4.164 MB / 0.6719 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.401e-05/0.8338, allocations: 20 kB / 0.6719 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.8338, allocations: 4 kB / 0.6719 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.974e-05/0.8338, allocations: 15.95 kB / 0.6719 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/0.8536, allocations: 9.264 MB / 0.681 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-05/0.8537, allocations: 0 / 0.681 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.8557, allocations: 371.5 kB / 0.6813 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002458/0.8582, allocations: 0.8729 MB / 0.6822 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/0.8585, allocations: 36 kB / 0.6822 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005203/0.8637, allocations: 4.845 MB / 0.687 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8637, allocations: 0 / 0.687 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.8759, allocations: 7.282 MB / 0.6941 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.8772, allocations: 364.9 kB / 0.6944 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007078/0.8779, allocations: 32 kB / 0.6944 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/0.8796, allocations: 143.2 kB / 0.6946 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/0.88, allocations: 115.1 kB / 0.6947 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/0.8802, allocations: 55.98 kB / 0.6947 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003611/0.8838, allocations: 2.069 MB / 0.6968 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8838, allocations: 0 / 0.6968 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006092/0.8899, allocations: 0.9766 MB / 0.6977 GB, free: 5.785 MB / 0.5294 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.0008235/0.8908, allocations: 182.3 kB / 0.6979 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2821/1.173, allocations: 6.269 MB / 0.704 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.173, allocations: 4.281 kB / 0.704 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00423/1.177, allocations: 2.564 MB / 0.7065 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.179, allocations: 306.7 kB / 0.7068 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.196, allocations: 10.86 MB / 0.7174 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/1.199, allocations: 3.097 MB / 0.7204 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004807/1.204, allocations: 1.877 MB / 0.7223 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007894/1.205, allocations: 240.5 kB / 0.7225 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/1.205, allocations: 0 / 0.7225 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.05461/1.259, allocations: 35.07 MB / 0.7568 GB, free: 124.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches