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/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.001732/0.001732, allocations: 115.5 kB / 17.13 MB, free: 5.891 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.001978/0.001978, allocations: 212.3 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3586/0.3586, allocations: 44.23 MB / 326.6 MB, free: 6.801 MB / 254.1 MB " [Timeout remaining time 180] 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 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 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_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002158/0.002158, allocations: 71.91 kB / 462.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3009, allocations: 61 MB / 0.511 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.009321/0.3102, allocations: 11.49 MB / 0.5222 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007572/0.3178, allocations: 4.073 MB / 0.5262 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.3196, allocations: 79.62 kB / 0.5262 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005176/0.3248, allocations: 2.523 MB / 0.5287 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005343/0.3302, allocations: 1.93 MB / 0.5306 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.332, allocations: 0.78 MB / 0.5313 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00683/0.3389, allocations: 4.457 MB / 0.5357 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.343, allocations: 2.896 MB / 0.5385 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/0.3462, allocations: 1.6 MB / 0.5401 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004454/0.3507, allocations: 2.414 MB / 0.5424 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.3518, allocations: 336 kB / 0.5428 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.3541, allocations: 0.9948 MB / 0.5437 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002162/0.3563, allocations: 1.994 MB / 0.5457 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002828/0.3591, allocations: 2.276 MB / 0.5479 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009008/0.3681, allocations: 6.932 MB / 0.5547 GB, free: 2.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3681, allocations: 4 kB / 0.5547 GB, free: 2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3681, allocations: 0 / 0.5547 GB, free: 2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00025/0.3684, allocations: 0 / 0.5547 GB, free: 2 MB / 414.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.01084/0.3792, allocations: 5.005 MB / 0.5596 GB, free: 12.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3793, allocations: 11.89 kB / 0.5596 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001184/0.3805, allocations: 0.7359 MB / 0.5603 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007911/0.3884, allocations: 1.999 MB / 0.5623 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007197/0.3956, allocations: 3.292 MB / 0.5655 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/0.3959, allocations: 246.3 kB / 0.5657 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.3972, allocations: 331.8 kB / 0.566 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02009/0.4173, allocations: 10.21 MB / 0.576 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002071/0.4175, allocations: 55.56 kB / 0.576 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/0.4186, allocations: 155.9 kB / 0.5762 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00332/0.422, allocations: 1.908 MB / 0.578 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.441, allocations: 8.138 MB / 0.586 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05419/0.4952, allocations: 39.36 MB / 0.6244 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008507/0.5037, allocations: 3.157 MB / 0.6275 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.5052, allocations: 0.9592 MB / 0.6285 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009026/0.5143, allocations: 5.923 MB / 0.6342 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.5143, allocations: 51.56 kB / 0.6343 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=148): time 4.448e-06/0.5143, allocations: 0 / 0.6343 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.02433/0.5386, allocations: 9.792 MB / 0.6439 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.5388, allocations: 196.9 kB / 0.644 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2248/0.7636, allocations: 4.105 MB / 0.6481 GB, free: 121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.7638, allocations: 46.8 kB / 0.6481 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002001/0.7658, allocations: 3.321 MB / 0.6513 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005166/0.7664, allocations: 0.6675 MB / 0.652 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.7679, allocations: 1.213 MB / 0.6532 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.7679, allocations: 307.6 kB / 0.6535 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002683/0.7706, allocations: 1.632 MB / 0.6551 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003896/0.7745, allocations: 5.506 MB / 0.6604 GB, free: 112 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006535/0.781, allocations: 7.759 MB / 0.668 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.329e-05/0.7811, allocations: 40.03 kB / 0.6681 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.008888/0.79, allocations: 6.881 MB / 0.6748 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/0.79, allocations: 62.72 kB / 0.6748 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.7902, allocations: 140.4 kB / 0.675 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.7903, allocations: 179.1 kB / 0.6751 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.7937, allocations: 1.426 MB / 0.6765 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000126/0.7939, allocations: 269.2 kB / 0.6768 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/0.7972, allocations: 296.3 kB / 0.6771 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/0.7975, allocations: 379.6 kB / 0.6774 GB, free: 101.8 MB / 0.4981 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.002047/0.7995, allocations: 2.034 MB / 0.6794 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004171/0.7999, allocations: 375.5 kB / 0.6798 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.8017, allocations: 1.348 MB / 0.6811 GB, free: 99.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.8017, allocations: 19.56 kB / 0.6811 GB, free: 99.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.8017, allocations: 4 kB / 0.6811 GB, free: 99.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.8017, allocations: 7.406 kB / 0.6811 GB, free: 99.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006997/0.8087, allocations: 5.832 MB / 0.6868 GB, free: 93.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.8088, allocations: 17 kB / 0.6868 GB, free: 93.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008636/0.8096, allocations: 279.5 kB / 0.6871 GB, free: 93.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.8096, allocations: 28 kB / 0.6871 GB, free: 93.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/0.8097, allocations: 51.28 kB / 0.6872 GB, free: 93.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/0.8097, allocations: 35.86 kB / 0.6872 GB, free: 93.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/0.8097, allocations: 27.88 kB / 0.6872 GB, free: 93.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.8126, allocations: 3.303 MB / 0.6905 GB, free: 89.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009943/0.8136, allocations: 0.5376 MB / 0.691 GB, free: 89.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/0.8139, allocations: 47.98 kB / 0.691 GB, free: 89.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.815, allocations: 63.95 kB / 0.6911 GB, free: 89.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.8152, allocations: 148.2 kB / 0.6912 GB, free: 89.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.8152, allocations: 68 kB / 0.6913 GB, free: 88.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003114/0.8184, allocations: 2.54 MB / 0.6938 GB, free: 86.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.8184, allocations: 8 kB / 0.6938 GB, free: 86.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004816/0.8232, allocations: 0.8983 MB / 0.6947 GB, free: 85.49 MB / 0.4981 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.003991/0.8272, allocations: 3.966 MB / 0.6985 GB, free: 81.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006106/0.8333, allocations: 3.649 MB / 0.7021 GB, free: 77.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/0.8333, allocations: 4 kB / 0.7021 GB, free: 77.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008436/0.8341, allocations: 0.708 MB / 0.7028 GB, free: 76.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.8369, allocations: 481.5 kB / 0.7033 GB, free: 76.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04131/0.8783, allocations: 41.88 MB / 0.7442 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/0.881, allocations: 3.185 MB / 0.7473 GB, free: 24.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003486/0.8845, allocations: 1.82 MB / 0.749 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/0.8863, allocations: 1.874 MB / 0.7509 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of SimCode: time 1.293e-06/0.8863, allocations: 0 / 0.7509 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/0.9977, allocations: 59.53 MB / 0.809 GB, free: 9.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.11/20.11, allocations: 7.938 kB / 0.809 GB, free: 9.684 MB / 0.545 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 23.2794479449949]