Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009455/0.0009456, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008996/0.0008997, allocations: 96.72 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.191/0.191, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.877e-05, allocations: 4 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4095/0.536, allocations: 105.8 MB / 0.598 GB, free: 6.656 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5363, allocations: 75.95 kB / 0.5981 GB, free: 6.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2276/0.7639, allocations: 85.85 MB / 0.6819 GB, free: 96 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.764, allocations: 0 / 0.6819 GB, free: 96 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001851/0.7642, allocations: 87.94 kB / 0.682 GB, free: 8 kB / 490.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.0118/0.776, allocations: 3.96 MB / 0.6859 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.7761, allocations: 15.98 kB / 0.6859 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.7884, allocations: 2.451 MB / 0.6883 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.8007, allocations: 4.879 MB / 0.6931 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.801, allocations: 144 kB / 0.6932 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.8026, allocations: 256 kB / 0.6935 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2972/1.1, allocations: 6.157 MB / 0.6995 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/1.122, allocations: 9.447 MB / 0.7087 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002146/1.122, allocations: 64.5 kB / 0.7088 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007523/1.123, allocations: 36.22 kB / 0.7088 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/1.125, allocations: 1.041 MB / 0.7098 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0472/1.172, allocations: 47.3 MB / 0.756 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/1.175, allocations: 2.078 MB / 0.758 GB, free: 79.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009663/1.176, allocations: 0.9155 MB / 0.7589 GB, free: 79.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/1.176, allocations: 1.202 MB / 0.7601 GB, free: 78.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/1.176, allocations: 59.75 kB / 0.7601 GB, free: 78.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=158): time 4.108e-06/1.176, allocations: 0 / 0.7601 GB, free: 78.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=170): time 0.01549/1.192, allocations: 9.063 MB / 0.769 GB, free: 73.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.192, allocations: 247.5 kB / 0.7692 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/1.196, allocations: 3.031 MB / 0.7722 GB, free: 72.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002958/1.197, allocations: 27.56 kB / 0.7722 GB, free: 72.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.198, allocations: 3.216 MB / 0.7754 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005967/1.199, allocations: 0.6509 MB / 0.776 GB, free: 69.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.199, allocations: 0 / 0.776 GB, free: 69.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002856/1.199, allocations: 0.5677 MB / 0.7765 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/1.201, allocations: 1.498 MB / 0.778 GB, free: 68.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/1.204, allocations: 5.43 MB / 0.7833 GB, free: 62.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/1.208, allocations: 2.86 MB / 0.7861 GB, free: 61.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-05/1.208, allocations: 40.28 kB / 0.7861 GB, free: 61.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.008914/1.217, allocations: 6.005 MB / 0.792 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/1.217, allocations: 66.88 kB / 0.7921 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/1.217, allocations: 139.3 kB / 0.7922 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/1.217, allocations: 209.4 kB / 0.7924 GB, free: 59.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/1.222, allocations: 1.499 MB / 0.7939 GB, free: 59.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000189/1.222, allocations: 279.7 kB / 0.7941 GB, free: 59.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/1.226, allocations: 268.2 kB / 0.7944 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.228, allocations: 390.3 kB / 0.7948 GB, free: 59.03 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.0008597/1.228, allocations: 459.2 kB / 0.7952 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000686/1.229, allocations: 325.2 kB / 0.7955 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/1.231, allocations: 1.25 MB / 0.7967 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/1.231, allocations: 19.31 kB / 0.7967 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.231, allocations: 8.828 kB / 0.7968 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/1.231, allocations: 6.375 kB / 0.7968 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008239/1.239, allocations: 5.3 MB / 0.8019 GB, free: 55.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/1.24, allocations: 17.88 kB / 0.802 GB, free: 55.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/1.241, allocations: 298.5 kB / 0.8022 GB, free: 55.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-05/1.241, allocations: 26.16 kB / 0.8023 GB, free: 55.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/1.241, allocations: 35.8 kB / 0.8023 GB, free: 55.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.128e-05/1.241, allocations: 38.73 kB / 0.8023 GB, free: 55.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/1.241, allocations: 28.3 kB / 0.8024 GB, free: 55.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003484/1.244, allocations: 5.167 MB / 0.8074 GB, free: 51.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008202/1.245, allocations: 398.4 kB / 0.8078 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/1.245, allocations: 29.16 kB / 0.8078 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.247, allocations: 68.84 kB / 0.8079 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.247, allocations: 148.6 kB / 0.808 GB, free: 50.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.035e-05/1.247, allocations: 80.28 kB / 0.8081 GB, free: 50.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002676/1.249, allocations: 2.001 MB / 0.8101 GB, free: 49.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/1.249, allocations: 0 / 0.8101 GB, free: 49.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004644/1.254, allocations: 0.7731 MB / 0.8108 GB, free: 49.91 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.000391/1.255, allocations: 184.9 kB / 0.811 GB, free: 49.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004621/1.259, allocations: 3.446 MB / 0.8144 GB, free: 46.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.259, allocations: 0 / 0.8144 GB, free: 46.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007239/1.26, allocations: 0.7236 MB / 0.8151 GB, free: 46.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/1.262, allocations: 360.2 kB / 0.8154 GB, free: 45.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.276, allocations: 7.146 MB / 0.8224 GB, free: 39.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004784/1.281, allocations: 3.261 MB / 0.8256 GB, free: 36.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005191/1.286, allocations: 1.892 MB / 0.8274 GB, free: 35.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008371/1.287, allocations: 234.2 kB / 0.8276 GB, free: 35.41 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/1.287, allocations: 0 / 0.8276 GB, free: 35.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.04642/1.333, allocations: 23.56 MB / 0.8506 GB, free: 18.46 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches