Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.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.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002133/0.002133, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 89.72 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3034/0.3034, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.802e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3962, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.5908, allocations: 104.1 MB / 0.5675 GB, free: 11.18 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.5911, allocations: 83.45 kB / 0.5676 GB, free: 11.1 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7076/1.299, allocations: 84.92 MB / 0.6506 GB, free: 107.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.985e-06/1.299, allocations: 0 / 0.6506 GB, free: 107.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002914/1.299, allocations: 86.64 kB / 0.6506 GB, free: 107.3 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01633/1.315, allocations: 3.973 MB / 0.6545 GB, free: 105.5 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.316, allocations: 9.562 kB / 0.6545 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02038/1.336, allocations: 2.453 MB / 0.6569 GB, free: 105.2 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02009/1.356, allocations: 5.169 MB / 0.662 GB, free: 104.7 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004064/1.357, allocations: 140.2 kB / 0.6621 GB, free: 104.7 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002528/1.359, allocations: 259.9 kB / 0.6624 GB, free: 104.7 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01636/1.375, allocations: 6.161 MB / 0.6684 GB, free: 104.6 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/1.399, allocations: 9.458 MB / 0.6776 GB, free: 101.7 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002619/1.399, allocations: 60.44 kB / 0.6777 GB, free: 101.7 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001478/1.401, allocations: 30.38 kB / 0.6777 GB, free: 101.7 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002404/1.403, allocations: 1.042 MB / 0.6787 GB, free: 101.5 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06376/1.467, allocations: 47.33 MB / 0.7249 GB, free: 64.51 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/1.471, allocations: 2.07 MB / 0.727 GB, free: 63.26 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/1.473, allocations: 0.9263 MB / 0.7279 GB, free: 62.89 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/1.474, allocations: 1.218 MB / 0.729 GB, free: 61.8 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/1.474, allocations: 45.72 kB / 0.7291 GB, free: 61.75 MB / 475.1 MB Notification: Performance of pre-optimization done (n=158): time 5.441e-06/1.474, allocations: 0 / 0.7291 GB, free: 61.75 MB / 475.1 MB Notification: Performance of matching and sorting (n=170): time 0.03098/1.505, allocations: 9.174 MB / 0.738 GB, free: 56.77 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/1.506, allocations: 247.4 kB / 0.7383 GB, free: 56.48 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006903/1.512, allocations: 3.065 MB / 0.7413 GB, free: 55.29 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003417/1.513, allocations: 29.77 kB / 0.7413 GB, free: 55.25 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/1.515, allocations: 3.191 MB / 0.7444 GB, free: 52.69 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009391/1.516, allocations: 0.6461 MB / 0.7451 GB, free: 52.22 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006344/1.517, allocations: 0 / 0.7451 GB, free: 52.22 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0005251/1.518, allocations: 0.5746 MB / 0.7456 GB, free: 51.72 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00379/1.521, allocations: 1.499 MB / 0.7471 GB, free: 50.38 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006271/1.528, allocations: 5.437 MB / 0.7524 GB, free: 43.21 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006066/1.534, allocations: 2.847 MB / 0.7552 GB, free: 40.79 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/1.534, allocations: 42.16 kB / 0.7552 GB, free: 40.75 MB / 475.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.0152/1.549, allocations: 5.929 MB / 0.761 GB, free: 35.52 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.549, allocations: 64 kB / 0.7611 GB, free: 35.46 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/1.55, allocations: 144 kB / 0.7612 GB, free: 35.32 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/1.55, allocations: 208 kB / 0.7614 GB, free: 35.11 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008607/1.559, allocations: 1.502 MB / 0.7629 GB, free: 33.79 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000237/1.559, allocations: 275.5 kB / 0.7631 GB, free: 33.55 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00692/1.566, allocations: 269.1 kB / 0.7634 GB, free: 33.34 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/1.567, allocations: 380 kB / 0.7637 GB, free: 32.96 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (793): * Single equations (assignments): 790 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001246/1.568, allocations: 465.5 kB / 0.7642 GB, free: 32.51 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008061/1.569, allocations: 327.7 kB / 0.7645 GB, free: 32.19 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/1.572, allocations: 1.258 MB / 0.7657 GB, free: 31.11 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.106e-05/1.573, allocations: 16 kB / 0.7657 GB, free: 31.09 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.573, allocations: 7.953 kB / 0.7657 GB, free: 31.08 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/1.573, allocations: 6.938 kB / 0.7658 GB, free: 31.08 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.586, allocations: 5.318 MB / 0.7709 GB, free: 26.36 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/1.586, allocations: 16 kB / 0.771 GB, free: 26.34 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/1.588, allocations: 295.2 kB / 0.7712 GB, free: 26.09 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.095e-05/1.588, allocations: 28 kB / 0.7713 GB, free: 26.06 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/1.589, allocations: 32 kB / 0.7713 GB, free: 26.03 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.937e-05/1.589, allocations: 35.67 kB / 0.7713 GB, free: 26 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-05/1.589, allocations: 27.88 kB / 0.7714 GB, free: 25.97 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005629/1.594, allocations: 5.179 MB / 0.7764 GB, free: 20.37 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.596, allocations: 0.5119 MB / 0.7769 GB, free: 19.87 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008827/1.597, allocations: 27.7 kB / 0.7769 GB, free: 19.85 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/1.6, allocations: 74.22 kB / 0.777 GB, free: 19.79 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/1.6, allocations: 150.4 kB / 0.7772 GB, free: 19.68 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.601, allocations: 79.75 kB / 0.7772 GB, free: 19.61 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.004904/1.605, allocations: 2.015 MB / 0.7792 GB, free: 17.87 MB / 475.1 MB Notification: Performance of sort global known variables: time 2.074e-06/1.605, allocations: 0 / 0.7792 GB, free: 17.87 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.007075/1.613, allocations: 0.7845 MB / 0.78 GB, free: 17.09 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 151 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006326/1.613, allocations: 174.5 kB / 0.7801 GB, free: 16.91 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.007134/1.62, allocations: 3.448 MB / 0.7835 GB, free: 13.77 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/1.62, allocations: 0 / 0.7835 GB, free: 13.77 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/1.622, allocations: 0.732 MB / 0.7842 GB, free: 13.11 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.625, allocations: 360.4 kB / 0.7846 GB, free: 12.8 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.645, allocations: 7.609 MB / 0.792 GB, free: 5.59 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006656/1.652, allocations: 3.277 MB / 0.7952 GB, free: 2.297 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.653, allocations: 279.4 kB / 0.7955 GB, free: 2.023 MB / 475.1 MB Notification: Performance of SimCode: time 1.413e-06/1.653, allocations: 0 / 0.7955 GB, free: 2.023 MB / 475.1 MB Notification: Performance of Templates: time 0.4572/2.11, allocations: 49.93 MB / 0.8442 GB, free: 115.6 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches