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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.91 MB / 355.1 MB, free: 12.35 MB / 286.1 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 71.89 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1321, allocations: 65.42 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01304/0.1452, allocations: 11.42 MB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009191/0.1543, allocations: 4.077 MB / 0.5669 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.1564, allocations: 75.62 kB / 0.567 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004686/0.1611, allocations: 2.523 MB / 0.5694 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.1659, allocations: 1.887 MB / 0.5713 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.1677, allocations: 0.7761 MB / 0.572 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006389/0.1741, allocations: 4.511 MB / 0.5764 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.1778, allocations: 2.87 MB / 0.5792 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.1802, allocations: 1.577 MB / 0.5808 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.1835, allocations: 2.395 MB / 0.5831 GB, free: 9.891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000685/0.1842, allocations: 336 kB / 0.5834 GB, free: 9.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.1862, allocations: 0.9909 MB / 0.5844 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002063/0.1883, allocations: 1.971 MB / 0.5863 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002429/0.1907, allocations: 2.233 MB / 0.5885 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2946/0.4853, allocations: 6.851 MB / 0.5952 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4853, allocations: 0.6562 kB / 0.5952 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4853, allocations: 0 / 0.5952 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002769/0.4856, allocations: 1.531 kB / 0.5952 GB, free: 14.95 MB / 446.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.01112/0.4967, allocations: 4.935 MB / 0.6 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4968, allocations: 13.72 kB / 0.6 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001348/0.4981, allocations: 0.7301 MB / 0.6008 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008675/0.5068, allocations: 1.992 MB / 0.6027 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007016/0.5138, allocations: 2.792 MB / 0.6054 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.5142, allocations: 252.3 kB / 0.6057 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/0.5157, allocations: 335.2 kB / 0.606 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/0.5365, allocations: 10.24 MB / 0.616 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.5366, allocations: 47.45 kB / 0.616 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004585/0.5371, allocations: 160.6 kB / 0.6162 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002854/0.5399, allocations: 1.909 MB / 0.618 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.5555, allocations: 8.165 MB / 0.626 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04726/0.6028, allocations: 39.32 MB / 0.6644 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008534/0.6113, allocations: 3.171 MB / 0.6675 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.6129, allocations: 0.9475 MB / 0.6684 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009267/0.6222, allocations: 6 MB / 0.6743 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.6222, allocations: 50.38 kB / 0.6743 GB, free: 5.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 5.069e-06/0.6223, allocations: 0 / 0.6743 GB, free: 5.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.02435/0.6466, allocations: 9.758 MB / 0.6839 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.6467, allocations: 192.9 kB / 0.6841 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/0.6526, allocations: 4.064 MB / 0.688 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002783/0.6529, allocations: 49.7 kB / 0.6881 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002548/0.6554, allocations: 3.313 MB / 0.6913 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007898/0.6562, allocations: 0.6591 MB / 0.692 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.6577, allocations: 1.218 MB / 0.6931 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6579, allocations: 308.7 kB / 0.6934 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/0.6606, allocations: 1.644 MB / 0.695 GB, free: 212 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005999/0.6666, allocations: 5.519 MB / 0.7004 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.6768, allocations: 7.774 MB / 0.708 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/0.677, allocations: 45.52 kB / 0.7081 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01346/0.6904, allocations: 6.894 MB / 0.7148 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.6906, allocations: 65.56 kB / 0.7149 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000222/0.6908, allocations: 136 kB / 0.715 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.691, allocations: 180 kB / 0.7152 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004719/0.6957, allocations: 1.438 MB / 0.7166 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000292/0.696, allocations: 269.7 kB / 0.7168 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/0.7007, allocations: 299.7 kB / 0.7171 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/0.7018, allocations: 383.5 kB / 0.7175 GB, free: 6.227 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 764 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005217/0.707, allocations: 2.031 MB / 0.7195 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009512/0.708, allocations: 373.5 kB / 0.7198 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.7093, allocations: 410.7 kB / 0.7202 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.327e-05/0.7093, allocations: 20 kB / 0.7202 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.7093, allocations: 0 / 0.7202 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/0.7093, allocations: 10.05 kB / 0.7202 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.7221, allocations: 5.852 MB / 0.726 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.274e-05/0.7222, allocations: 16 kB / 0.726 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.7233, allocations: 279.5 kB / 0.7262 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-05/0.7234, allocations: 24 kB / 0.7263 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.7235, allocations: 55.42 kB / 0.7263 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.264e-05/0.7235, allocations: 35.86 kB / 0.7263 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-05/0.7236, allocations: 27.88 kB / 0.7264 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/0.7286, allocations: 3.325 MB / 0.7296 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.7297, allocations: 430.5 kB / 0.73 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008198/0.7305, allocations: 47.98 kB / 0.7301 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.7322, allocations: 71.95 kB / 0.7301 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.7324, allocations: 143.4 kB / 0.7303 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.7325, allocations: 71.98 kB / 0.7303 GB, free: 8.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005645/0.7382, allocations: 2.512 MB / 0.7328 GB, free: 5.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7382, allocations: 0 / 0.7328 GB, free: 5.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00592/0.7441, allocations: 0.8824 MB / 0.7337 GB, free: 5.074 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005766/0.7498, allocations: 4.006 MB / 0.7376 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00697/0.7568, allocations: 3.667 MB / 0.7412 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/0.7568, allocations: 4 kB / 0.7412 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.7581, allocations: 0.7145 MB / 0.7419 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/0.762, allocations: 472.2 kB / 0.7423 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07406/0.8361, allocations: 41.77 MB / 0.7831 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005542/0.8416, allocations: 3.166 MB / 0.7862 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00472/0.8463, allocations: 1.808 MB / 0.788 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003168/0.8495, allocations: 1.87 MB / 0.7898 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of SimCode: time 1.433e-06/0.8495, allocations: 1.969 kB / 0.7898 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3798/1.229, allocations: 59.16 MB / 0.8476 GB, free: 235.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/19.44, allocations: 1.625 kB / 0.8476 GB, free: 235.7 MB / 0.6544 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.637064529117197]