Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002073/0.002078, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001113, allocations: 101 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.493/0.493, allocations: 43.54 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004652, allocations: 16 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4734/0.5936, allocations: 106.4 MB / 0.5826 GB, free: 12.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.5939, allocations: 79.95 kB / 0.5827 GB, free: 12.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2842/0.8781, allocations: 71.21 MB / 0.6523 GB, free: 4.473 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8782, allocations: 0 / 0.6523 GB, free: 4.473 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001887/0.8784, allocations: 75.98 kB / 0.6523 GB, free: 4.398 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.0139/0.8923, allocations: 3.726 MB / 0.656 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.8924, allocations: 12.03 kB / 0.656 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.9073, allocations: 2.069 MB / 0.658 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007/0.9143, allocations: 2.084 MB / 0.66 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.9147, allocations: 305 kB / 0.6603 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/0.9166, allocations: 399.9 kB / 0.6607 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3639/1.28, allocations: 11.12 MB / 0.6716 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002414/1.281, allocations: 50.66 kB / 0.6716 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001151/1.282, allocations: 197.7 kB / 0.6718 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002583/1.285, allocations: 1.073 MB / 0.6729 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03204/1.317, allocations: 9.499 MB / 0.6821 GB, free: 97.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06101/1.378, allocations: 45.89 MB / 0.7269 GB, free: 69.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/1.396, allocations: 4.269 MB / 0.7311 GB, free: 67.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/1.409, allocations: 5.76 MB / 0.7367 GB, free: 64.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.409, allocations: 52.22 kB / 0.7368 GB, free: 64.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 6.422e-06/1.409, allocations: 0 / 0.7368 GB, free: 64.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.1367/1.546, allocations: 27.7 MB / 0.7638 GB, free: 55.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/1.546, allocations: 155.6 kB / 0.764 GB, free: 55.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005591/1.551, allocations: 3.006 MB / 0.7669 GB, free: 54.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005639/1.552, allocations: 60.39 kB / 0.767 GB, free: 54.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.554, allocations: 2.776 MB / 0.7697 GB, free: 51.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/1.555, allocations: 0.8384 MB / 0.7705 GB, free: 51.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006464/1.556, allocations: 117.3 kB / 0.7706 GB, free: 51.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003521/1.556, allocations: 0.5626 MB / 0.7712 GB, free: 50.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005749/1.562, allocations: 2.562 MB / 0.7737 GB, free: 49.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007769/1.57, allocations: 5.983 MB / 0.7795 GB, free: 44.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008271/1.578, allocations: 3.855 MB / 0.7833 GB, free: 42.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.762e-05/1.578, allocations: 34.88 kB / 0.7833 GB, free: 42.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02324/1.601, allocations: 9.1 MB / 0.7922 GB, free: 39.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/1.601, allocations: 55.97 kB / 0.7923 GB, free: 39.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/1.602, allocations: 129.2 kB / 0.7924 GB, free: 39.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004623/1.606, allocations: 1.064 MB / 0.7934 GB, free: 38.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008895/1.615, allocations: 1.409 MB / 0.7948 GB, free: 37.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007349/1.622, allocations: 5.491 MB / 0.8002 GB, free: 32.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006349/1.629, allocations: 329.6 kB / 0.8005 GB, free: 31.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/1.63, allocations: 362.2 kB / 0.8008 GB, free: 31.57 MB / 490.7 MB 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.00443/1.634, allocations: 1.959 MB / 0.8027 GB, free: 29.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008143/1.635, allocations: 315.9 kB / 0.803 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.647, allocations: 4.555 MB / 0.8075 GB, free: 25.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.945e-05/1.647, allocations: 24 kB / 0.8075 GB, free: 25.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.647, allocations: 8 kB / 0.8075 GB, free: 25.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.133e-05/1.647, allocations: 16.5 kB / 0.8075 GB, free: 25.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/1.672, allocations: 9.968 MB / 0.8173 GB, free: 17.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/1.672, allocations: 0 / 0.8173 GB, free: 17.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003844/1.675, allocations: 389.9 kB / 0.8176 GB, free: 17.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004263/1.68, allocations: 0.8702 MB / 0.8185 GB, free: 16.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003352/1.68, allocations: 36.45 kB / 0.8185 GB, free: 16.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006393/1.687, allocations: 4.838 MB / 0.8232 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.687, allocations: 0 / 0.8232 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.704, allocations: 7.931 MB / 0.831 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/1.706, allocations: 0.7524 MB / 0.8317 GB, free: 4.008 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006589/1.707, allocations: 36 kB / 0.8317 GB, free: 3.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002772/1.71, allocations: 125.4 kB / 0.8319 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005149/1.71, allocations: 124.9 kB / 0.832 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/1.71, allocations: 65.59 kB / 0.832 GB, free: 3.758 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004176/1.714, allocations: 2.067 MB / 0.8341 GB, free: 2.055 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.715, allocations: 0 / 0.8341 GB, free: 2.055 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006023/1.721, allocations: 1.009 MB / 0.8351 GB, free: 1.051 MB / 490.7 MB 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.0006396/1.721, allocations: 190.2 kB / 0.8352 GB, free: 0.875 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01771/1.739, allocations: 6.709 MB / 0.8418 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.739, allocations: 0 / 0.8418 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00775/1.747, allocations: 2.773 MB / 0.8445 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/1.749, allocations: 318.7 kB / 0.8448 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/1.775, allocations: 11.56 MB / 0.8561 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005451/1.781, allocations: 3.136 MB / 0.8592 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/1.783, allocations: 283.4 kB / 0.8594 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/1.783, allocations: 4 kB / 0.8594 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of Templates: time 0.5384/2.322, allocations: 120.7 MB / 0.9773 GB, free: 72.71 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches