Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001089/0.001089, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.722/1.722, allocations: 205.3 MB / 213.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009263/0.0009263, allocations: 82.62 kB / 261.7 MB, free: 1.684 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.2038/0.2038, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.039e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 58.87 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.5373, allocations: 104.1 MB / 0.5676 GB, free: 7.648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.5376, allocations: 82.14 kB / 0.5677 GB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2167/0.7543, allocations: 84.92 MB / 0.6506 GB, free: 10.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.7544, allocations: 0 / 0.6506 GB, free: 10.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002746/0.7547, allocations: 80 kB / 0.6507 GB, free: 10.65 MB / 458.7 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.01294/0.7676, allocations: 3.983 MB / 0.6546 GB, free: 6.602 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7677, allocations: 12.03 kB / 0.6546 GB, free: 6.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.7799, allocations: 2.443 MB / 0.657 GB, free: 4.137 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.7928, allocations: 5.168 MB / 0.662 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.7931, allocations: 143.9 kB / 0.6621 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.7946, allocations: 251.9 kB / 0.6624 GB, free: 14.51 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01108/0.8057, allocations: 6.162 MB / 0.6684 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.8223, allocations: 9.454 MB / 0.6776 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/0.8225, allocations: 71.39 kB / 0.6777 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.823, allocations: 32 kB / 0.6777 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001525/0.8245, allocations: 1.037 MB / 0.6787 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.362/1.187, allocations: 47.33 MB / 0.725 GB, free: 96.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/1.19, allocations: 2.062 MB / 0.727 GB, free: 95.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/1.191, allocations: 0.9283 MB / 0.7279 GB, free: 95.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.193, allocations: 1.201 MB / 0.7291 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/1.193, allocations: 58.94 kB / 0.7291 GB, free: 94.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=158): time 6.362e-06/1.193, allocations: 0 / 0.7291 GB, free: 94.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=170): time 0.02195/1.215, allocations: 9.179 MB / 0.7381 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/1.215, allocations: 256.8 kB / 0.7383 GB, free: 90.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005028/1.22, allocations: 3.053 MB / 0.7413 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003921/1.22, allocations: 25.7 kB / 0.7413 GB, free: 90.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00282/1.223, allocations: 3.228 MB / 0.7445 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.224, allocations: 0.6482 MB / 0.7451 GB, free: 88.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/1.224, allocations: 0 / 0.7451 GB, free: 88.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003734/1.225, allocations: 0.5696 MB / 0.7457 GB, free: 87.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/1.227, allocations: 1.495 MB / 0.7471 GB, free: 87.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004232/1.231, allocations: 5.43 MB / 0.7524 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/1.235, allocations: 2.847 MB / 0.7552 GB, free: 82.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.218e-05/1.235, allocations: 41.12 kB / 0.7552 GB, free: 82.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.009644/1.245, allocations: 6.02 MB / 0.7611 GB, free: 82.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/1.245, allocations: 66.19 kB / 0.7612 GB, free: 82.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/1.245, allocations: 142.2 kB / 0.7613 GB, free: 82.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/1.245, allocations: 208.1 kB / 0.7615 GB, free: 82.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004254/1.25, allocations: 1.492 MB / 0.763 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001797/1.25, allocations: 286.5 kB / 0.7633 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00498/1.255, allocations: 266.3 kB / 0.7635 GB, free: 81.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007528/1.256, allocations: 386 kB / 0.7639 GB, free: 81.97 MB / 0.4948 GB 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.0008135/1.256, allocations: 471.8 kB / 0.7643 GB, free: 81.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006192/1.257, allocations: 322.1 kB / 0.7646 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/1.259, allocations: 1.247 MB / 0.7659 GB, free: 81.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/1.259, allocations: 25.34 kB / 0.7659 GB, free: 81.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/1.259, allocations: 3.625 kB / 0.7659 GB, free: 81.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/1.259, allocations: 11.36 kB / 0.7659 GB, free: 81.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008414/1.267, allocations: 5.318 MB / 0.7711 GB, free: 79.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.267, allocations: 20.03 kB / 0.7711 GB, free: 79.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009934/1.268, allocations: 292.5 kB / 0.7714 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.691e-05/1.268, allocations: 29.3 kB / 0.7714 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/1.268, allocations: 26.94 kB / 0.7714 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.412e-05/1.268, allocations: 40.25 kB / 0.7715 GB, free: 79.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/1.269, allocations: 28.53 kB / 0.7715 GB, free: 79.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00417/1.273, allocations: 5.181 MB / 0.7766 GB, free: 75.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.274, allocations: 0.5041 MB / 0.7771 GB, free: 75.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003483/1.274, allocations: 33.16 kB / 0.7771 GB, free: 75.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.276, allocations: 67.56 kB / 0.7771 GB, free: 75.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/1.276, allocations: 151.5 kB / 0.7773 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-05/1.276, allocations: 73.52 kB / 0.7774 GB, free: 75.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003207/1.279, allocations: 2.023 MB / 0.7793 GB, free: 74.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.31e-07/1.279, allocations: 0 / 0.7793 GB, free: 74.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006735/1.286, allocations: 0.784 MB / 0.7801 GB, free: 74.71 MB / 0.4948 GB 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.0005871/1.287, allocations: 184 kB / 0.7803 GB, free: 74.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006065/1.293, allocations: 3.444 MB / 0.7836 GB, free: 73.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.889e-05/1.293, allocations: 3.25 kB / 0.7836 GB, free: 73.42 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000865/1.294, allocations: 0.7218 MB / 0.7844 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.296, allocations: 354.9 kB / 0.7847 GB, free: 73.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/1.312, allocations: 7.166 MB / 0.7917 GB, free: 69.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004396/1.316, allocations: 3.273 MB / 0.7949 GB, free: 68.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004953/1.321, allocations: 1.896 MB / 0.7967 GB, free: 68.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006078/1.322, allocations: 226.2 kB / 0.797 GB, free: 68.46 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/1.322, allocations: 0 / 0.797 GB, free: 68.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.04548/1.367, allocations: 23.59 MB / 0.82 GB, free: 54.83 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches