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.0009373/0.0009373, allocations: 98.03 kB / 17 MB, free: 6.418 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.00117/0.00117, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.571/1.571, allocations: 223.2 MB / 241.9 MB, free: 340 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.2057/0.2057, allocations: 44.24 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004918, allocations: 21.16 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 61.92 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.03788/0.1783, allocations: 34.83 MB / 0.4945 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01914/0.1975, allocations: 7.438 MB / 0.5018 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007265/0.2048, allocations: 159.6 kB / 0.502 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006309/0.2112, allocations: 1.781 MB / 0.5037 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3094/0.5206, allocations: 4.957 MB / 0.5085 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.5237, allocations: 411.3 kB / 0.5089 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006883/0.5306, allocations: 3.468 MB / 0.5123 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008784/0.5395, allocations: 3.767 MB / 0.516 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.5431, allocations: 1 MB / 0.517 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/0.5467, allocations: 1.559 MB / 0.5185 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006996/0.5474, allocations: 130 kB / 0.5186 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.5498, allocations: 0.7443 MB / 0.5193 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001853/0.5517, allocations: 1.39 MB / 0.5207 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.5529, allocations: 0.755 MB / 0.5214 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006254/0.5592, allocations: 4.789 MB / 0.5261 GB, free: 8.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.5592, allocations: 0 / 0.5261 GB, free: 8.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5592, allocations: 4 kB / 0.5261 GB, free: 8.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002115/0.5594, allocations: 0 / 0.5261 GB, free: 8.98 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.008697/0.5681, allocations: 3.497 MB / 0.5295 GB, free: 6.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5682, allocations: 8.625 kB / 0.5295 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005933/0.5742, allocations: 1.849 MB / 0.5314 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.5778, allocations: 1.73 MB / 0.533 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.578, allocations: 227.6 kB / 0.5333 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007037/0.5787, allocations: 298.2 kB / 0.5335 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.5979, allocations: 10.62 MB / 0.5439 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.5981, allocations: 39.64 kB / 0.5439 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000367/0.5985, allocations: 144.6 kB / 0.5441 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003475/0.6019, allocations: 2.04 MB / 0.5461 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01954/0.6215, allocations: 9.294 MB / 0.5552 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05065/0.6722, allocations: 38.01 MB / 0.5923 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/0.6827, allocations: 4.163 MB / 0.5963 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003479/0.6862, allocations: 2.302 MB / 0.5986 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00967/0.6959, allocations: 6.018 MB / 0.6045 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.696, allocations: 63.75 kB / 0.6045 GB, free: 6.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 5.42e-06/0.6961, allocations: 0 / 0.6045 GB, free: 6.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06037/0.7564, allocations: 21.91 MB / 0.6259 GB, free: 84 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.7566, allocations: 157.8 kB / 0.6261 GB, free: 15.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005446/0.7621, allocations: 3.351 MB / 0.6294 GB, free: 12.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004395/0.7625, allocations: 61.7 kB / 0.6294 GB, free: 12.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002142/0.7647, allocations: 2.796 MB / 0.6321 GB, free: 9.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.7658, allocations: 0.8048 MB / 0.6329 GB, free: 8.898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.766, allocations: 116.3 kB / 0.633 GB, free: 8.785 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003679/0.7664, allocations: 0.5502 MB / 0.6336 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003588/0.77, allocations: 2.311 MB / 0.6358 GB, free: 5.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006164/0.7762, allocations: 5.762 MB / 0.6415 GB, free: 14.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005991/0.7822, allocations: 3.571 MB / 0.6449 GB, free: 10.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.365e-05/0.7823, allocations: 36 kB / 0.645 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01745/0.7998, allocations: 8.63 MB / 0.6534 GB, free: 2.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.926e-05/0.7999, allocations: 56 kB / 0.6535 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/0.8001, allocations: 124 kB / 0.6536 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00262/0.8027, allocations: 1.062 MB / 0.6546 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00483/0.8076, allocations: 1.372 MB / 0.656 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005608/0.8132, allocations: 5.398 MB / 0.6612 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/0.818, allocations: 339.5 kB / 0.6616 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009009/0.8189, allocations: 360 kB / 0.6619 GB, free: 9.23 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.00435/0.8233, allocations: 1.942 MB / 0.6638 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/0.8241, allocations: 308.1 kB / 0.6641 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007307/0.8314, allocations: 3.936 MB / 0.6679 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/0.8315, allocations: 28.31 kB / 0.668 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.8315, allocations: 4 kB / 0.668 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/0.8315, allocations: 11.97 kB / 0.668 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.8483, allocations: 8.874 MB / 0.6766 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.8484, allocations: 7.938 kB / 0.6766 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.8501, allocations: 347.5 kB / 0.677 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/0.8524, allocations: 0.8637 MB / 0.6778 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/0.8526, allocations: 39.98 kB / 0.6779 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005076/0.8577, allocations: 4.751 MB / 0.6825 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8577, allocations: 0 / 0.6825 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.8684, allocations: 6.86 MB / 0.6892 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.8696, allocations: 360.9 kB / 0.6895 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/0.87, allocations: 32 kB / 0.6896 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.8713, allocations: 119.8 kB / 0.6897 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.8716, allocations: 117.1 kB / 0.6898 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/0.8718, allocations: 55.98 kB / 0.6898 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003477/0.8753, allocations: 2.057 MB / 0.6919 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8753, allocations: 0 / 0.6919 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005092/0.8804, allocations: 0.9723 MB / 0.6928 GB, free: 9.172 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.0004536/0.8808, allocations: 175.9 kB / 0.693 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.891, allocations: 6.083 MB / 0.6989 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.891, allocations: 4 kB / 0.6989 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004052/0.8951, allocations: 2.462 MB / 0.7013 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2696/1.165, allocations: 348.8 kB / 0.7017 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/1.185, allocations: 10.7 MB / 0.7121 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/1.189, allocations: 3.017 MB / 0.7151 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00571/1.195, allocations: 1.86 MB / 0.7169 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.196, allocations: 241.1 kB / 0.7171 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.362e-06/1.196, allocations: 0 / 0.7171 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.05774/1.254, allocations: 34.53 MB / 0.7508 GB, free: 129.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches