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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 176.1 kB / 8.518 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 221.4 MB / 230.3 MB, free: 7.699 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008448/0.0008447, allocations: 88.67 kB / 281.2 MB, free: 5.5 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.1582/0.1582, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.841e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09265, allocations: 61.92 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2647/0.3574, allocations: 107.3 MB / 0.5989 GB, free: 5.363 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.3578, allocations: 82.98 kB / 0.5989 GB, free: 5.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1755/0.5333, allocations: 69.74 MB / 0.667 GB, free: 14.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000123/0.5335, allocations: 71.94 kB / 0.6671 GB, free: 14.87 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.007191/0.5407, allocations: 3.623 MB / 0.6707 GB, free: 11.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5407, allocations: 8.031 kB / 0.6707 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007564/0.5483, allocations: 1.707 MB / 0.6723 GB, free: 9.457 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004821/0.5531, allocations: 2.087 MB / 0.6744 GB, free: 7.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.5533, allocations: 132 kB / 0.6745 GB, free: 7.191 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009761/0.5543, allocations: 232 kB / 0.6747 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009169/0.5635, allocations: 6.197 MB / 0.6808 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.5784, allocations: 9.259 MB / 0.6898 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.5786, allocations: 51.55 kB / 0.6899 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005428/0.5791, allocations: 31.91 kB / 0.6899 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001329/0.5805, allocations: 1.115 MB / 0.691 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2186/0.7991, allocations: 44.67 MB / 0.7346 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.8023, allocations: 3.334 MB / 0.7379 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.8044, allocations: 2.291 MB / 0.7401 GB, free: 71.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.805, allocations: 0.7229 MB / 0.7408 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.8051, allocations: 55.66 kB / 0.7408 GB, free: 70.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 4.038e-06/0.8051, allocations: 0 / 0.7408 GB, free: 70.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.04504/0.8501, allocations: 23.2 MB / 0.7635 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.8502, allocations: 212.2 kB / 0.7637 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.8531, allocations: 2.52 MB / 0.7662 GB, free: 66.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00042/0.8536, allocations: 25.7 kB / 0.7662 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009573/0.8545, allocations: 2.737 MB / 0.7689 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006112/0.8551, allocations: 0.8515 MB / 0.7697 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.8554, allocations: 3.531 kB / 0.7697 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002876/0.8557, allocations: 0.6236 MB / 0.7703 GB, free: 63.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/0.8585, allocations: 2.61 MB / 0.7729 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/0.8623, allocations: 6.141 MB / 0.7789 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005099/0.8674, allocations: 4.184 MB / 0.7829 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.234e-05/0.8675, allocations: 34.69 kB / 0.783 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01379/0.8813, allocations: 8.968 MB / 0.7917 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8813, allocations: 10.12 kB / 0.7917 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/0.8815, allocations: 128.2 kB / 0.7919 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002914/0.8844, allocations: 1.123 MB / 0.793 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00487/0.8893, allocations: 1.445 MB / 0.7944 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/0.8934, allocations: 4.975 MB / 0.7992 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/0.8976, allocations: 192.2 kB / 0.7994 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007475/0.8983, allocations: 390.9 kB / 0.7998 GB, free: 52.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * 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 (777): * Single equations (assignments): 770 * 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.0008205/0.8992, allocations: 429.8 kB / 0.8002 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/0.8997, allocations: 283.8 kB / 0.8005 GB, free: 51.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007444/0.9071, allocations: 4.871 MB / 0.8052 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.723e-05/0.9072, allocations: 23.41 kB / 0.8052 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.9072, allocations: 3.875 kB / 0.8052 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.9073, allocations: 11.34 kB / 0.8053 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.9233, allocations: 10.27 MB / 0.8153 GB, free: 45.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.9234, allocations: 2.125 kB / 0.8153 GB, free: 45.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/0.9255, allocations: 379.8 kB / 0.8156 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/0.9283, allocations: 0.9302 MB / 0.8166 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/0.9286, allocations: 18.33 kB / 0.8166 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.9327, allocations: 4.368 MB / 0.8208 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.9328, allocations: 5.094 kB / 0.8208 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01197/0.9447, allocations: 8.585 MB / 0.8292 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/0.9455, allocations: 325.3 kB / 0.8295 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/0.946, allocations: 3.938 kB / 0.8295 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.9475, allocations: 62.86 kB / 0.8296 GB, free: 38.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/0.9478, allocations: 116.3 kB / 0.8297 GB, free: 38.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/0.948, allocations: 76.73 kB / 0.8298 GB, free: 38.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002086/0.9501, allocations: 1.653 MB / 0.8314 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00437/0.9545, allocations: 0.877 MB / 0.8323 GB, free: 37.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (200): * Single equations (assignments): 193 * 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.0004767/0.955, allocations: 168.3 kB / 0.8324 GB, free: 37.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009039/0.964, allocations: 6.814 MB / 0.8391 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.9641, allocations: 0 / 0.8391 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004207/0.9683, allocations: 2.925 MB / 0.8419 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.9697, allocations: 219.9 kB / 0.8421 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.984, allocations: 8.24 MB / 0.8502 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003864/0.9879, allocations: 3.407 MB / 0.8535 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.9879, allocations: 0 / 0.8535 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of Templates: time 0.0695/1.057, allocations: 42.45 MB / 0.895 GB, free: 12.89 MB / 0.5417 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