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.001084/0.001084, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008282/0.0008282, allocations: 101 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2969/0.2969, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3135, allocations: 63.24 MB / 0.5192 GB, free: 43.38 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.427, allocations: 109.2 MB / 0.6258 GB, free: 12.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4272, allocations: 75.97 kB / 0.6259 GB, free: 12.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1776/0.6049, allocations: 72.37 MB / 0.6965 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.965e-06/0.6049, allocations: 0 / 0.6965 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002034/0.6051, allocations: 72 kB / 0.6966 GB, free: 3.438 MB / 0.4948 GB 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.2567/0.8619, allocations: 3.772 MB / 0.7003 GB, free: 96.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.8619, allocations: 9.062 kB / 0.7003 GB, free: 96.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009097/0.871, allocations: 2.059 MB / 0.7023 GB, free: 96.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/0.8766, allocations: 2.086 MB / 0.7044 GB, free: 96.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.8768, allocations: 306.8 kB / 0.7046 GB, free: 96.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009113/0.8777, allocations: 398.9 kB / 0.705 GB, free: 96.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.8961, allocations: 11.13 MB / 0.7159 GB, free: 93.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.8962, allocations: 50.09 kB / 0.7159 GB, free: 93.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005072/0.8967, allocations: 203.1 kB / 0.7161 GB, free: 93.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/0.8978, allocations: 1.07 MB / 0.7172 GB, free: 93.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01633/0.9142, allocations: 9.5 MB / 0.7265 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04134/0.9556, allocations: 45.87 MB / 0.7713 GB, free: 61.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009078/0.9647, allocations: 4.274 MB / 0.7754 GB, free: 60.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006574/0.9713, allocations: 5.764 MB / 0.7811 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.9713, allocations: 58.69 kB / 0.7811 GB, free: 56.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 3.837e-06/0.9714, allocations: 0 / 0.7811 GB, free: 56.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=224): time 0.06936/1.041, allocations: 27.68 MB / 0.8081 GB, free: 47.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/1.041, allocations: 153 kB / 0.8083 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003573/1.044, allocations: 3.003 MB / 0.8112 GB, free: 46.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002725/1.045, allocations: 62.14 kB / 0.8113 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/1.046, allocations: 2.794 MB / 0.814 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005986/1.046, allocations: 0.8435 MB / 0.8148 GB, free: 43.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/1.047, allocations: 114.5 kB / 0.8149 GB, free: 43.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002349/1.047, allocations: 0.5609 MB / 0.8155 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002838/1.05, allocations: 2.564 MB / 0.818 GB, free: 41.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/1.054, allocations: 5.984 MB / 0.8238 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/1.058, allocations: 3.849 MB / 0.8276 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.902e-05/1.058, allocations: 36 kB / 0.8276 GB, free: 30.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01296/1.071, allocations: 9.186 MB / 0.8366 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/1.071, allocations: 60 kB / 0.8367 GB, free: 22.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/1.071, allocations: 120 kB / 0.8368 GB, free: 22.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/1.074, allocations: 1.07 MB / 0.8378 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/1.078, allocations: 1.415 MB / 0.8392 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/1.082, allocations: 5.478 MB / 0.8446 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/1.087, allocations: 328.9 kB / 0.8449 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008924/1.088, allocations: 359.2 kB / 0.8452 GB, free: 14.73 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.003044/1.091, allocations: 1.972 MB / 0.8471 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/1.091, allocations: 308 kB / 0.8474 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006418/1.098, allocations: 4.566 MB / 0.8519 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/1.098, allocations: 25.48 kB / 0.8519 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.098, allocations: 4 kB / 0.8519 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.098, allocations: 10.22 kB / 0.8519 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/1.112, allocations: 9.978 MB / 0.8617 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/1.112, allocations: 4 kB / 0.8617 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.114, allocations: 379.5 kB / 0.862 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/1.117, allocations: 0.8734 MB / 0.8629 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/1.117, allocations: 47.98 kB / 0.8629 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004678/1.121, allocations: 4.825 MB / 0.8676 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.121, allocations: 4 kB / 0.8677 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.133, allocations: 7.917 MB / 0.8754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.134, allocations: 372.9 kB / 0.8757 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/1.134, allocations: 33.48 kB / 0.8758 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.136, allocations: 131.8 kB / 0.8759 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/1.136, allocations: 125.8 kB / 0.876 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.136, allocations: 52.94 kB / 0.8761 GB, free: 204 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002974/1.139, allocations: 2.061 MB / 0.8781 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.9e-07/1.139, allocations: 0 / 0.8781 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004139/1.143, allocations: 1.029 MB / 0.8791 GB, free: 13.12 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.000448/1.144, allocations: 175.6 kB / 0.8793 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.154, allocations: 6.678 MB / 0.8858 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.154, allocations: 4 kB / 0.8858 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004476/1.159, allocations: 2.765 MB / 0.8885 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.16, allocations: 314.1 kB / 0.8888 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/1.179, allocations: 11.13 MB / 0.8996 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004083/1.183, allocations: 3.123 MB / 0.9027 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004834/1.188, allocations: 1.958 MB / 0.9046 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008308/1.189, allocations: 243.4 kB / 0.9048 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/1.189, allocations: 3.938 kB / 0.9048 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of Templates: time 0.2943/1.483, allocations: 36.78 MB / 0.9408 GB, free: 126.9 MB / 0.5417 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