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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 182.8 kB / 18.09 MB, free: 3.727 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.245/1.245, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007563/0.0007563, allocations: 101.8 kB / 293.3 MB, free: 10.78 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.2907/0.2907, allocations: 44.14 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 11.98 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3223, allocations: 61.88 MB / 0.5107 GB, free: 38.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.4424, allocations: 108.2 MB / 0.6164 GB, free: 2.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.4426, allocations: 87.94 kB / 0.6165 GB, free: 2.738 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4161/0.8588, allocations: 71.71 MB / 0.6865 GB, free: 96.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.8588, allocations: 0 / 0.6865 GB, free: 96.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001409/0.859, allocations: 79.44 kB / 0.6866 GB, free: 96.43 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.009851/0.8688, allocations: 3.562 MB / 0.6901 GB, free: 94.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.8689, allocations: 11.41 kB / 0.6901 GB, free: 94.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007827/0.8767, allocations: 2.006 MB / 0.692 GB, free: 94.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005856/0.8826, allocations: 2.109 MB / 0.6941 GB, free: 94.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003011/0.883, allocations: 310.8 kB / 0.6944 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/0.885, allocations: 402.2 kB / 0.6948 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0255/0.9105, allocations: 11.02 MB / 0.7055 GB, free: 91.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003196/0.9108, allocations: 60.95 kB / 0.7056 GB, free: 91.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001766/0.9126, allocations: 203.6 kB / 0.7058 GB, free: 91.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/0.9142, allocations: 1.065 MB / 0.7068 GB, free: 91.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/0.9366, allocations: 9.369 MB / 0.716 GB, free: 91.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05266/0.9893, allocations: 45.83 MB / 0.7607 GB, free: 57.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009175/0.9985, allocations: 4.174 MB / 0.7648 GB, free: 55.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/1.001, allocations: 2.301 MB / 0.7671 GB, free: 54.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008356/1.009, allocations: 5.734 MB / 0.7727 GB, free: 51.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.01, allocations: 54.91 kB / 0.7727 GB, free: 51.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 5.06e-06/1.01, allocations: 0 / 0.7727 GB, free: 51.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.06903/1.079, allocations: 26.96 MB / 0.799 GB, free: 37.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/1.079, allocations: 158.4 kB / 0.7992 GB, free: 37.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005184/1.084, allocations: 3.361 MB / 0.8025 GB, free: 34.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000382/1.084, allocations: 61.14 kB / 0.8025 GB, free: 34.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/1.086, allocations: 2.805 MB / 0.8053 GB, free: 31.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007968/1.087, allocations: 0.8407 MB / 0.8061 GB, free: 31.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/1.087, allocations: 120 kB / 0.8062 GB, free: 31.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003435/1.087, allocations: 0.5549 MB / 0.8067 GB, free: 30.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/1.091, allocations: 2.565 MB / 0.8093 GB, free: 28.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00453/1.095, allocations: 6.004 MB / 0.8151 GB, free: 21.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008776/1.104, allocations: 9.32 MB / 0.8242 GB, free: 10.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.074e-05/1.104, allocations: 32 kB / 0.8242 GB, free: 10.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01426/1.118, allocations: 9.187 MB / 0.8332 GB, free: 2.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.119, allocations: 56.97 kB / 0.8333 GB, free: 2.266 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/1.119, allocations: 120 kB / 0.8334 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/1.121, allocations: 1.049 MB / 0.8344 GB, free: 1.086 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/1.125, allocations: 1.411 MB / 0.8358 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0055/1.131, allocations: 5.39 MB / 0.8411 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/1.136, allocations: 323.5 kB / 0.8414 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/1.137, allocations: 370.7 kB / 0.8417 GB, free: 9.344 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 () * Number of clocked 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.00456/1.141, allocations: 1.959 MB / 0.8436 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009045/1.142, allocations: 316 kB / 0.8439 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008137/1.151, allocations: 4.55 MB / 0.8484 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/1.151, allocations: 27.98 kB / 0.8484 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/1.151, allocations: 4 kB / 0.8484 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.078e-05/1.151, allocations: 11.97 kB / 0.8484 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/1.172, allocations: 9.965 MB / 0.8581 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.172, allocations: 0 / 0.8581 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/1.174, allocations: 391 kB / 0.8585 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/1.177, allocations: 0.8735 MB / 0.8594 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003082/1.177, allocations: 40 kB / 0.8594 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/1.182, allocations: 4.724 MB / 0.864 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.182, allocations: 0 / 0.864 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.194, allocations: 7.859 MB / 0.8717 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009188/1.195, allocations: 368.8 kB / 0.8721 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006963/1.196, allocations: 36 kB / 0.8721 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/1.198, allocations: 135.4 kB / 0.8722 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/1.198, allocations: 125.8 kB / 0.8723 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.198, allocations: 59.94 kB / 0.8724 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003931/1.202, allocations: 2.057 MB / 0.8744 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/1.202, allocations: 0 / 0.8744 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005485/1.208, allocations: 1.012 MB / 0.8754 GB, free: 6.465 MB / 0.5261 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 (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.0005892/1.208, allocations: 205.2 kB / 0.8756 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2246/1.433, allocations: 6.667 MB / 0.8821 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.433, allocations: 3.094 kB / 0.8821 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004605/1.438, allocations: 2.764 MB / 0.8848 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/1.44, allocations: 334.7 kB / 0.8851 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.455, allocations: 11.17 MB / 0.896 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/1.458, allocations: 3.046 MB / 0.899 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004412/1.462, allocations: 1.949 MB / 0.9009 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000823/1.463, allocations: 243.5 kB / 0.9011 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/1.463, allocations: 0 / 0.9011 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06422/1.527, allocations: 36.87 MB / 0.9371 GB, free: 123 MB / 0.5261 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/jenkins1/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