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.001763/0.001763, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002385/0.002385, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.221/0.221, allocations: 44.92 MB / 358.8 MB, free: 6.266 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.002089/0.002089, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3307, allocations: 65.47 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01345/0.3442, allocations: 11.44 MB / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008534/0.3527, allocations: 4.102 MB / 0.5722 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.3541, allocations: 83.56 kB / 0.5723 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004846/0.3589, allocations: 2.534 MB / 0.5748 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.3634, allocations: 1.883 MB / 0.5766 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.365, allocations: 0.7838 MB / 0.5774 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006264/0.3713, allocations: 4.507 MB / 0.5818 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/0.3749, allocations: 2.783 MB / 0.5845 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.3773, allocations: 1.585 MB / 0.586 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003476/0.3808, allocations: 2.399 MB / 0.5884 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007805/0.3816, allocations: 332 kB / 0.5887 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.3836, allocations: 0.987 MB / 0.5897 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002081/0.3857, allocations: 1.975 MB / 0.5916 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002712/0.3884, allocations: 2.237 MB / 0.5938 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008388/0.3968, allocations: 6.855 MB / 0.6005 GB, free: 11.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3968, allocations: 0 / 0.6005 GB, free: 11.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3968, allocations: 0 / 0.6005 GB, free: 11.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002029/0.397, allocations: 0 / 0.6005 GB, free: 11.09 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.01006/0.407, allocations: 4.861 MB / 0.6052 GB, free: 6.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4071, allocations: 12.03 kB / 0.6052 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0011/0.4082, allocations: 0.7319 MB / 0.6059 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007409/0.4156, allocations: 1.991 MB / 0.6079 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006764/0.4223, allocations: 2.722 MB / 0.6105 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.4226, allocations: 254.2 kB / 0.6108 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008626/0.4234, allocations: 331.8 kB / 0.6111 GB, free: 68 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/0.4422, allocations: 10.23 MB / 0.6211 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.4423, allocations: 47.58 kB / 0.6211 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005076/0.4429, allocations: 155.9 kB / 0.6213 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003013/0.4459, allocations: 1.908 MB / 0.6232 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01773/0.4636, allocations: 8.173 MB / 0.6311 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05017/0.5138, allocations: 39.18 MB / 0.6694 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008092/0.5218, allocations: 2.728 MB / 0.6721 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5235, allocations: 0.9631 MB / 0.673 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008999/0.5325, allocations: 4.566 MB / 0.6775 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.5326, allocations: 55.44 kB / 0.6775 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.919e-06/0.5326, allocations: 0 / 0.6775 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02379/0.5564, allocations: 9.603 MB / 0.6869 GB, free: 276 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.5565, allocations: 200.9 kB / 0.6871 GB, free: 32 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006355/0.5629, allocations: 4.064 MB / 0.6911 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/0.5631, allocations: 49.7 kB / 0.6911 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002624/0.5657, allocations: 3.314 MB / 0.6943 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007167/0.5664, allocations: 0.6591 MB / 0.695 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/0.568, allocations: 1.215 MB / 0.6962 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5681, allocations: 309.1 kB / 0.6965 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.5709, allocations: 1.644 MB / 0.6981 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006064/0.577, allocations: 5.522 MB / 0.7035 GB, free: 13.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009823/0.5868, allocations: 7.771 MB / 0.711 GB, free: 3.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.444e-05/0.5869, allocations: 40 kB / 0.7111 GB, free: 3.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01341/0.6003, allocations: 6.897 MB / 0.7178 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/0.6004, allocations: 68.03 kB / 0.7179 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/0.6005, allocations: 136 kB / 0.718 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.6007, allocations: 180 kB / 0.7182 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/0.6051, allocations: 1.423 MB / 0.7196 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002362/0.6054, allocations: 267 kB / 0.7198 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/0.6095, allocations: 308.1 kB / 0.7201 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006869/0.6102, allocations: 376 kB / 0.7205 GB, free: 9.867 MB / 0.5606 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.003754/0.614, allocations: 2.036 MB / 0.7225 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/0.6146, allocations: 369.5 kB / 0.7228 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007774/0.6154, allocations: 414.7 kB / 0.7232 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-05/0.6155, allocations: 23.94 kB / 0.7232 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.6155, allocations: 7.984 kB / 0.7233 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.6155, allocations: 7.922 kB / 0.7233 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.6259, allocations: 5.809 MB / 0.7289 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/0.626, allocations: 16 kB / 0.7289 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.627, allocations: 283.5 kB / 0.7292 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.69e-05/0.627, allocations: 24.81 kB / 0.7292 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-05/0.6271, allocations: 55.98 kB / 0.7293 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.034e-05/0.6272, allocations: 39.86 kB / 0.7293 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.24e-05/0.6272, allocations: 27.92 kB / 0.7294 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2722/0.8993, allocations: 3.319 MB / 0.7326 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.9004, allocations: 355.1 kB / 0.7329 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.9007, allocations: 51.83 kB / 0.733 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.9018, allocations: 62.72 kB / 0.733 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.902, allocations: 153.2 kB / 0.7332 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.9021, allocations: 70.09 kB / 0.7333 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003286/0.9054, allocations: 2.512 MB / 0.7357 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9054, allocations: 2.297 kB / 0.7357 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004165/0.9096, allocations: 0.8845 MB / 0.7366 GB, free: 151.7 MB / 0.5606 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.003453/0.913, allocations: 3.992 MB / 0.7405 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005066/0.9181, allocations: 3.666 MB / 0.7441 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.9181, allocations: 3 kB / 0.7441 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.9189, allocations: 0.7187 MB / 0.7448 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.9215, allocations: 481.1 kB / 0.7452 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04273/0.9642, allocations: 41.75 MB / 0.786 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/0.9669, allocations: 3.174 MB / 0.7891 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003353/0.9702, allocations: 1.805 MB / 0.7909 GB, free: 98.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/0.9721, allocations: 1.873 MB / 0.7927 GB, free: 96.95 MB / 0.5606 GB Notification: Performance of SimCode: time 1.633e-06/0.9721, allocations: 0 / 0.7927 GB, free: 96.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09973/1.072, allocations: 64.03 MB / 0.8552 GB, free: 33.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.17/23.24, allocations: 7.188 kB / 0.8552 GB, free: 33.36 MB / 0.5606 GB " [Timeout remaining time 637] (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: 26.370293322004727]