Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007664/0.0007667, allocations: 85.22 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1754/0.1754, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.448e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09405, allocations: 63.25 MB / 0.5114 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5046, allocations: 109.1 MB / 0.6179 GB, free: 1.121 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.5049, allocations: 74.47 kB / 0.618 GB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1682/0.6732, allocations: 72.42 MB / 0.6887 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6732, allocations: 0 / 0.6887 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.6733, allocations: 76 kB / 0.6888 GB, free: 0.5742 MB / 474.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.009484/0.6828, allocations: 3.666 MB / 0.6923 GB, free: 12.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.6829, allocations: 11.97 kB / 0.6923 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008574/0.6915, allocations: 2.058 MB / 0.6944 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.6967, allocations: 2.072 MB / 0.6964 GB, free: 8.641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.697, allocations: 311.9 kB / 0.6967 GB, free: 8.332 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.6982, allocations: 399.9 kB / 0.6971 GB, free: 7.941 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02251/0.7208, allocations: 11.05 MB / 0.7078 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.721, allocations: 51.47 kB / 0.7079 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008127/0.7218, allocations: 199.9 kB / 0.7081 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001402/0.7232, allocations: 1.073 MB / 0.7091 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/0.7436, allocations: 9.368 MB / 0.7183 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.325/1.069, allocations: 45.87 MB / 0.7631 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.079, allocations: 4.239 MB / 0.7672 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002656/1.082, allocations: 2.298 MB / 0.7695 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008408/1.09, allocations: 5.764 MB / 0.7751 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/1.09, allocations: 57.88 kB / 0.7751 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 5.5e-06/1.09, allocations: 0 / 0.7751 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=224): time 0.05479/1.145, allocations: 21.86 MB / 0.7965 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/1.145, allocations: 154.9 kB / 0.7966 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003554/1.149, allocations: 2.972 MB / 0.7995 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/1.149, allocations: 58.8 kB / 0.7996 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/1.15, allocations: 2.806 MB / 0.8023 GB, free: 103 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/1.151, allocations: 0.8352 MB / 0.8031 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/1.151, allocations: 123.6 kB / 0.8033 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002434/1.151, allocations: 0.557 MB / 0.8038 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/1.154, allocations: 2.52 MB / 0.8063 GB, free: 101 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/1.158, allocations: 5.936 MB / 0.8121 GB, free: 95.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/1.163, allocations: 3.844 MB / 0.8158 GB, free: 94.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.893e-05/1.163, allocations: 36.47 kB / 0.8159 GB, free: 94.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01506/1.178, allocations: 9.082 MB / 0.8247 GB, free: 91.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.178, allocations: 63.02 kB / 0.8248 GB, free: 91.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/1.178, allocations: 121.2 kB / 0.8249 GB, free: 91.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/1.181, allocations: 1.063 MB / 0.8259 GB, free: 91.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005129/1.186, allocations: 1.409 MB / 0.8273 GB, free: 91.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/1.191, allocations: 5.37 MB / 0.8326 GB, free: 87.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/1.195, allocations: 325.9 kB / 0.8329 GB, free: 87.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009781/1.196, allocations: 366.2 kB / 0.8332 GB, free: 87.14 MB / 0.5261 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 () * 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.001719/1.198, allocations: 0.5567 MB / 0.8338 GB, free: 86.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.199, allocations: 316.5 kB / 0.8341 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008033/1.207, allocations: 4.517 MB / 0.8385 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/1.207, allocations: 23.25 kB / 0.8385 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/1.207, allocations: 3.469 kB / 0.8385 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/1.207, allocations: 17.83 kB / 0.8385 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/1.223, allocations: 9.92 MB / 0.8482 GB, free: 76.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.223, allocations: 7.656 kB / 0.8482 GB, free: 76.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/1.225, allocations: 384.4 kB / 0.8486 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/1.227, allocations: 0.8781 MB / 0.8494 GB, free: 76.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002777/1.228, allocations: 42.8 kB / 0.8495 GB, free: 75.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/1.231, allocations: 4.719 MB / 0.8541 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.231, allocations: 0 / 0.8541 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009664/1.241, allocations: 7.858 MB / 0.8618 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009722/1.242, allocations: 378.5 kB / 0.8621 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007405/1.243, allocations: 35.94 kB / 0.8622 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.245, allocations: 131.6 kB / 0.8623 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/1.245, allocations: 122 kB / 0.8624 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.245, allocations: 59.23 kB / 0.8625 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003327/1.248, allocations: 2.032 MB / 0.8644 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/1.248, allocations: 0 / 0.8644 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004725/1.253, allocations: 1.015 MB / 0.8654 GB, free: 60.93 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 () * 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.0005203/1.254, allocations: 192.1 kB / 0.8656 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008892/1.263, allocations: 6.596 MB / 0.8721 GB, free: 54.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.263, allocations: 0 / 0.8721 GB, free: 54.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00418/1.267, allocations: 2.739 MB / 0.8747 GB, free: 52.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/1.269, allocations: 311.5 kB / 0.875 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.282, allocations: 8.049 MB / 0.8829 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002987/1.285, allocations: 3.121 MB / 0.8859 GB, free: 42.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004216/1.289, allocations: 1.952 MB / 0.8878 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008078/1.29, allocations: 238.2 kB / 0.8881 GB, free: 40.79 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/1.29, allocations: 0 / 0.8881 GB, free: 40.79 MB / 0.5261 GB Notification: Performance of Templates: time 0.05212/1.342, allocations: 36.78 MB / 0.924 GB, free: 5.305 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches