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.001036/0.001036, allocations: 195.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008255/0.0008254, allocations: 99.86 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1755/0.1755, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.515e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09301, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3591/0.4521, allocations: 108.4 MB / 0.6102 GB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/0.4523, allocations: 75.83 kB / 0.6103 GB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1645/0.6168, allocations: 70.59 MB / 0.6793 GB, free: 11.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.6168, allocations: 0 / 0.6793 GB, free: 11.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001541/0.617, allocations: 76 kB / 0.6793 GB, free: 11.77 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.009225/0.6262, allocations: 3.662 MB / 0.6829 GB, free: 8.043 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.6263, allocations: 8.031 kB / 0.6829 GB, free: 8.035 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00842/0.6347, allocations: 2.058 MB / 0.6849 GB, free: 5.969 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006664/0.6414, allocations: 2.076 MB / 0.687 GB, free: 3.844 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/0.6417, allocations: 132 kB / 0.6871 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00193/0.6437, allocations: 228 kB / 0.6873 GB, free: 3.492 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01538/0.6591, allocations: 6.083 MB / 0.6932 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/0.6807, allocations: 9.146 MB / 0.7022 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001738/0.6809, allocations: 59.47 kB / 0.7022 GB, free: 3.262 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006546/0.6816, allocations: 28 kB / 0.7023 GB, free: 3.234 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002146/0.6837, allocations: 1.073 MB / 0.7033 GB, free: 2.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06134/0.7451, allocations: 44.35 MB / 0.7466 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005719/0.7508, allocations: 3.499 MB / 0.75 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2707/1.022, allocations: 2.23 MB / 0.7522 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006462/1.022, allocations: 0.7115 MB / 0.7529 GB, free: 145 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.022, allocations: 60.34 kB / 0.753 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=190): time 4.238e-06/1.022, allocations: 0 / 0.753 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=235): time 0.04419/1.066, allocations: 23.24 MB / 0.7757 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/1.067, allocations: 211 kB / 0.7759 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003319/1.07, allocations: 2.489 MB / 0.7783 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003809/1.07, allocations: 25.7 kB / 0.7783 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.072, allocations: 2.847 MB / 0.7811 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007302/1.072, allocations: 0.8477 MB / 0.7819 GB, free: 139 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/1.073, allocations: 0 / 0.7819 GB, free: 139 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003114/1.073, allocations: 0.6252 MB / 0.7825 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/1.076, allocations: 2.502 MB / 0.785 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/1.08, allocations: 6.039 MB / 0.7909 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004001/1.084, allocations: 3.862 MB / 0.7946 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.462e-05/1.084, allocations: 37.5 kB / 0.7947 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.0113/1.095, allocations: 8.558 MB / 0.803 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/1.095, allocations: 58.59 kB / 0.8031 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.928e-05/1.095, allocations: 125.6 kB / 0.8032 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/1.098, allocations: 1.058 MB / 0.8042 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00446/1.102, allocations: 1.477 MB / 0.8057 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/1.106, allocations: 5.084 MB / 0.8106 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/1.11, allocations: 216.7 kB / 0.8109 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004629/1.111, allocations: 373.5 kB / 0.8112 GB, free: 125.1 MB / 0.5261 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.0007616/1.112, allocations: 438.7 kB / 0.8116 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/1.112, allocations: 291.2 kB / 0.8119 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006186/1.118, allocations: 4.463 MB / 0.8163 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.823e-05/1.118, allocations: 24.92 kB / 0.8163 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.872e-05/1.118, allocations: 7.438 kB / 0.8163 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/1.118, allocations: 11.48 kB / 0.8163 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/1.132, allocations: 9.754 MB / 0.8258 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.132, allocations: 0 / 0.8258 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/1.134, allocations: 401.6 kB / 0.8262 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/1.136, allocations: 0.8655 MB / 0.8271 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/1.136, allocations: 11.95 kB / 0.8271 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/1.14, allocations: 4.451 MB / 0.8314 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.14, allocations: 0 / 0.8314 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008516/1.148, allocations: 8.005 MB / 0.8392 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006482/1.149, allocations: 334.6 kB / 0.8396 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/1.149, allocations: 7.891 kB / 0.8396 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.151, allocations: 95.78 kB / 0.8397 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/1.151, allocations: 136 kB / 0.8398 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.151, allocations: 63.14 kB / 0.8398 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001822/1.153, allocations: 1.617 MB / 0.8414 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.153, allocations: 0 / 0.8414 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003856/1.157, allocations: 0.8752 MB / 0.8423 GB, free: 103.3 MB / 0.5261 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.0003892/1.157, allocations: 159 kB / 0.8424 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007419/1.165, allocations: 6.507 MB / 0.8488 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.165, allocations: 0 / 0.8488 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/1.168, allocations: 2.772 MB / 0.8515 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.169, allocations: 220.6 kB / 0.8517 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.18, allocations: 8.083 MB / 0.8596 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/1.183, allocations: 3.132 MB / 0.8627 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004428/1.187, allocations: 2.046 MB / 0.8647 GB, free: 83.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008065/1.188, allocations: 237.2 kB / 0.8649 GB, free: 83.31 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/1.188, allocations: 0 / 0.8649 GB, free: 83.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.04763/1.236, allocations: 33.33 MB / 0.8974 GB, free: 54.07 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