Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009321/0.0009319, allocations: 97.34 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.326/0.326, allocations: 44.83 MB / 393 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002719, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2864, allocations: 62.95 MB / 0.5165 GB, free: 37.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4139, allocations: 109.1 MB / 0.623 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.4142, allocations: 75.97 kB / 0.6231 GB, free: 12.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3781/0.7924, allocations: 71.85 MB / 0.6933 GB, free: 99.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7924, allocations: 0 / 0.6933 GB, free: 99.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001803/0.7926, allocations: 74.94 kB / 0.6934 GB, free: 99.42 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.01053/0.8032, allocations: 3.611 MB / 0.6969 GB, free: 97.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.8032, allocations: 8.688 kB / 0.6969 GB, free: 97.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008569/0.8118, allocations: 2.011 MB / 0.6989 GB, free: 97.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005738/0.8176, allocations: 2.106 MB / 0.7009 GB, free: 96.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/0.8179, allocations: 308.1 kB / 0.7012 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001948/0.8199, allocations: 404.8 kB / 0.7016 GB, free: 96.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/0.8453, allocations: 11.02 MB / 0.7124 GB, free: 94.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003085/0.8456, allocations: 53.5 kB / 0.7124 GB, free: 94.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.8472, allocations: 205.1 kB / 0.7126 GB, free: 94.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001788/0.849, allocations: 1.067 MB / 0.7136 GB, free: 94.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.8675, allocations: 9.381 MB / 0.7228 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04147/0.909, allocations: 45.83 MB / 0.7676 GB, free: 58.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009069/0.9181, allocations: 4.165 MB / 0.7716 GB, free: 56.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.9205, allocations: 2.31 MB / 0.7739 GB, free: 55.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007066/0.9276, allocations: 5.728 MB / 0.7795 GB, free: 52.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.9277, allocations: 62.53 kB / 0.7795 GB, free: 51.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 4.318e-06/0.9277, allocations: 0 / 0.7795 GB, free: 51.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=224): time 0.06716/0.9948, allocations: 26.97 MB / 0.8059 GB, free: 30.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.9949, allocations: 154.5 kB / 0.806 GB, free: 30.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/0.9997, allocations: 3.362 MB / 0.8093 GB, free: 27.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003634/1, allocations: 57.7 kB / 0.8094 GB, free: 27.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/1.001, allocations: 2.796 MB / 0.8121 GB, free: 24.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007714/1.002, allocations: 0.8438 MB / 0.8129 GB, free: 23.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/1.003, allocations: 116 kB / 0.813 GB, free: 23.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003135/1.003, allocations: 0.5621 MB / 0.8136 GB, free: 22.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/1.006, allocations: 2.561 MB / 0.8161 GB, free: 20.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00438/1.011, allocations: 6.014 MB / 0.8219 GB, free: 12.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008239/1.019, allocations: 9.313 MB / 0.831 GB, free: 1.504 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-05/1.019, allocations: 36 kB / 0.8311 GB, free: 1.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01611/1.035, allocations: 9.173 MB / 0.84 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.035, allocations: 56 kB / 0.8401 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/1.035, allocations: 120 kB / 0.8402 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002755/1.038, allocations: 1.053 MB / 0.8412 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/1.043, allocations: 1.411 MB / 0.8426 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/1.049, allocations: 5.387 MB / 0.8479 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004636/1.054, allocations: 331.4 kB / 0.8482 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/1.055, allocations: 367.7 kB / 0.8485 GB, free: 15.3 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.005118/1.06, allocations: 1.963 MB / 0.8505 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.061, allocations: 315.9 kB / 0.8508 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009098/1.071, allocations: 4.553 MB / 0.8552 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/1.071, allocations: 24 kB / 0.8552 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/1.071, allocations: 4 kB / 0.8552 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/1.071, allocations: 11.95 kB / 0.8552 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/1.09, allocations: 9.968 MB / 0.865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/1.09, allocations: 0 / 0.865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/1.092, allocations: 387.5 kB / 0.8653 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/1.095, allocations: 0.8805 MB / 0.8662 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003922/1.095, allocations: 36 kB / 0.8662 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004687/1.1, allocations: 4.723 MB / 0.8708 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.1, allocations: 2.812 kB / 0.8709 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.112, allocations: 7.861 MB / 0.8785 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2279/1.34, allocations: 365 kB / 0.8789 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.341, allocations: 36.25 kB / 0.8789 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/1.343, allocations: 123.4 kB / 0.879 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004682/1.343, allocations: 124.5 kB / 0.8791 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.343, allocations: 59.36 kB / 0.8792 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004315/1.348, allocations: 2.062 MB / 0.8812 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.4e-07/1.348, allocations: 3.281 kB / 0.8812 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005548/1.353, allocations: 1.024 MB / 0.8822 GB, free: 134.1 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.0005833/1.354, allocations: 191.6 kB / 0.8824 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009976/1.364, allocations: 6.67 MB / 0.8889 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.364, allocations: 2.094 kB / 0.8889 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004098/1.368, allocations: 2.771 MB / 0.8916 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/1.371, allocations: 338.3 kB / 0.8919 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.388, allocations: 11.62 MB / 0.9033 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00361/1.392, allocations: 3.049 MB / 0.9063 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/1.393, allocations: 292.9 kB / 0.9066 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/1.393, allocations: 1 kB / 0.9066 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1314/1.525, allocations: 126.7 MB / 1.03 GB, free: 40.73 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches