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.001366/0.001366, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009094/0.0009092, allocations: 95.52 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4297/0.4297, allocations: 44.82 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003063, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3678, allocations: 62.96 MB / 0.5184 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.5159, allocations: 109.1 MB / 0.625 GB, free: 12.15 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.5162, allocations: 83.94 kB / 0.6251 GB, free: 12.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.457/0.9732, allocations: 71.84 MB / 0.6952 GB, free: 99.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.9732, allocations: 0 / 0.6952 GB, free: 99.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001496/0.9734, allocations: 83.95 kB / 0.6953 GB, free: 99.53 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.0114/0.9848, allocations: 3.614 MB / 0.6988 GB, free: 97.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.9849, allocations: 8.781 kB / 0.6988 GB, free: 97.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008601/0.9935, allocations: 2.007 MB / 0.7008 GB, free: 97.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.9991, allocations: 2.105 MB / 0.7029 GB, free: 97.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.9995, allocations: 308.8 kB / 0.7031 GB, free: 97.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002252/1.002, allocations: 409.2 kB / 0.7035 GB, free: 97.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0334/1.035, allocations: 11.02 MB / 0.7143 GB, free: 94.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006694/1.036, allocations: 56.44 kB / 0.7144 GB, free: 94.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/1.039, allocations: 201 kB / 0.7145 GB, free: 94.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002711/1.041, allocations: 1.077 MB / 0.7156 GB, free: 94.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/1.064, allocations: 9.369 MB / 0.7247 GB, free: 92.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05203/1.116, allocations: 45.83 MB / 0.7695 GB, free: 58.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009798/1.125, allocations: 4.162 MB / 0.7736 GB, free: 56.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002854/1.128, allocations: 2.309 MB / 0.7758 GB, free: 55.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009129/1.138, allocations: 5.727 MB / 0.7814 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/1.138, allocations: 65.39 kB / 0.7815 GB, free: 52.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 4.799e-06/1.138, allocations: 0 / 0.7815 GB, free: 52.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.07243/1.21, allocations: 26.96 MB / 0.8078 GB, free: 30.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/1.21, allocations: 162.4 kB / 0.808 GB, free: 30.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006333/1.217, allocations: 3.362 MB / 0.8112 GB, free: 27.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000544/1.217, allocations: 53.7 kB / 0.8113 GB, free: 26.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/1.219, allocations: 2.804 MB / 0.814 GB, free: 24.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.22, allocations: 0.8396 MB / 0.8149 GB, free: 23.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005963/1.22, allocations: 120 kB / 0.815 GB, free: 23.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000401/1.221, allocations: 0.5543 MB / 0.8155 GB, free: 22.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/1.225, allocations: 2.569 MB / 0.818 GB, free: 20.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004768/1.229, allocations: 6.002 MB / 0.8239 GB, free: 12.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009042/1.238, allocations: 9.322 MB / 0.833 GB, free: 1.363 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.921e-05/1.239, allocations: 32.28 kB / 0.833 GB, free: 1.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.0198/1.258, allocations: 9.179 MB / 0.842 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/1.259, allocations: 56.09 kB / 0.842 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/1.259, allocations: 123.9 kB / 0.8422 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/1.262, allocations: 1.046 MB / 0.8432 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00594/1.268, allocations: 1.411 MB / 0.8446 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/1.274, allocations: 5.39 MB / 0.8498 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005347/1.28, allocations: 323.5 kB / 0.8501 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/1.281, allocations: 368 kB / 0.8505 GB, free: 15.16 MB / 0.5105 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.005688/1.287, allocations: 1.959 MB / 0.8524 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.288, allocations: 319.9 kB / 0.8527 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.301, allocations: 4.55 MB / 0.8571 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.251e-05/1.301, allocations: 24 kB / 0.8572 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.442e-05/1.301, allocations: 8 kB / 0.8572 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.489e-05/1.301, allocations: 19.8 kB / 0.8572 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03083/1.332, allocations: 9.964 MB / 0.8669 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/1.332, allocations: 0 / 0.8669 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/1.335, allocations: 383.4 kB / 0.8673 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/1.339, allocations: 0.8735 MB / 0.8681 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005336/1.339, allocations: 40.17 kB / 0.8682 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006825/1.346, allocations: 4.735 MB / 0.8728 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/1.346, allocations: 3.938 kB / 0.8728 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01813/1.364, allocations: 7.865 MB / 0.8805 GB, free: 60 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.261/1.625, allocations: 358.2 kB / 0.8808 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000782/1.626, allocations: 38.2 kB / 0.8809 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.628, allocations: 122.4 kB / 0.881 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003858/1.628, allocations: 123.4 kB / 0.8811 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/1.628, allocations: 62.39 kB / 0.8812 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004285/1.633, allocations: 2.064 MB / 0.8832 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.082e-06/1.633, allocations: 0 / 0.8832 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005256/1.638, allocations: 1.022 MB / 0.8842 GB, free: 134.2 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.0005353/1.638, allocations: 192.1 kB / 0.8843 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009814/1.648, allocations: 6.676 MB / 0.8909 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.648, allocations: 0 / 0.8909 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004151/1.653, allocations: 2.764 MB / 0.8936 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/1.655, allocations: 341.8 kB / 0.8939 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/1.674, allocations: 11.18 MB / 0.9048 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00407/1.678, allocations: 3.043 MB / 0.9078 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005686/1.684, allocations: 1.948 MB / 0.9097 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009911/1.685, allocations: 246.5 kB / 0.9099 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/1.685, allocations: 1.344 kB / 0.9099 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.06546/1.75, allocations: 36.85 MB / 0.9459 GB, free: 125.8 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/jenkins1/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