Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001523/0.001523, 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.001664/0.001664, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.463/1.463, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 71.89 kB / 0.4909 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1295, allocations: 65.99 MB / 0.5554 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01352/0.1431, allocations: 11.42 MB / 0.5665 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009421/0.1525, allocations: 4.085 MB / 0.5705 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.1547, allocations: 75.62 kB / 0.5706 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005015/0.1597, allocations: 2.523 MB / 0.5731 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005864/0.1656, allocations: 1.882 MB / 0.5749 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.1675, allocations: 0.776 MB / 0.5757 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006909/0.1744, allocations: 4.511 MB / 0.5801 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003873/0.1783, allocations: 2.862 MB / 0.5829 GB, free: 9.527 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.1808, allocations: 1.585 MB / 0.5844 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.1843, allocations: 2.403 MB / 0.5867 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007817/0.1851, allocations: 332 kB / 0.5871 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.1871, allocations: 0.987 MB / 0.588 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001974/0.189, allocations: 1.971 MB / 0.59 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3091/0.4981, allocations: 2.234 MB / 0.5921 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.5091, allocations: 6.846 MB / 0.5988 GB, free: 10.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5091, allocations: 1.25 kB / 0.5988 GB, free: 10.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5091, allocations: 0 / 0.5988 GB, free: 10.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003355/0.5095, allocations: 0 / 0.5988 GB, free: 10.92 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.01555/0.525, allocations: 4.942 MB / 0.6036 GB, free: 8.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5251, allocations: 10.56 kB / 0.6037 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001939/0.527, allocations: 0.7276 MB / 0.6044 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008317/0.5353, allocations: 1.991 MB / 0.6063 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006684/0.542, allocations: 2.793 MB / 0.609 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.5422, allocations: 254.6 kB / 0.6093 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.5434, allocations: 334.6 kB / 0.6096 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.5641, allocations: 10.24 MB / 0.6196 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.5642, allocations: 42.39 kB / 0.6196 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005175/0.5647, allocations: 159.4 kB / 0.6198 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002745/0.5675, allocations: 1.914 MB / 0.6217 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.584, allocations: 8.167 MB / 0.6296 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05312/0.6371, allocations: 39.31 MB / 0.668 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008618/0.6457, allocations: 3.187 MB / 0.6711 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.6474, allocations: 0.9592 MB / 0.6721 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.6584, allocations: 5.99 MB / 0.6779 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.144e-05/0.6585, allocations: 58.55 kB / 0.678 GB, free: 444 kB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 6.222e-06/0.6585, allocations: 0 / 0.678 GB, free: 444 kB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.02541/0.6839, allocations: 9.754 MB / 0.6875 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.6841, allocations: 200.9 kB / 0.6877 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006675/0.6908, allocations: 4.06 MB / 0.6917 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002898/0.691, allocations: 45.7 kB / 0.6917 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.6937, allocations: 3.308 MB / 0.6949 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000845/0.6946, allocations: 0.6645 MB / 0.6956 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001677/0.6962, allocations: 1.215 MB / 0.6968 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6964, allocations: 308.9 kB / 0.6971 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/0.6993, allocations: 1.644 MB / 0.6987 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006105/0.7054, allocations: 5.516 MB / 0.7041 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.7155, allocations: 7.777 MB / 0.7116 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/0.7156, allocations: 40 kB / 0.7117 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01412/0.7298, allocations: 6.904 MB / 0.7184 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/0.7299, allocations: 60 kB / 0.7185 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001763/0.73, allocations: 140 kB / 0.7186 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.7302, allocations: 180 kB / 0.7188 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/0.7347, allocations: 1.427 MB / 0.7202 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002591/0.735, allocations: 270.9 kB / 0.7204 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004379/0.7394, allocations: 299.8 kB / 0.7207 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008038/0.7402, allocations: 376 kB / 0.7211 GB, free: 1.035 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.004519/0.7447, allocations: 2.035 MB / 0.7231 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008629/0.7456, allocations: 365.5 kB / 0.7234 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.7468, allocations: 425.4 kB / 0.7238 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.544e-05/0.7468, allocations: 18.19 kB / 0.7238 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.7469, allocations: 0 / 0.7238 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/0.7469, allocations: 11.92 kB / 0.7239 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.7592, allocations: 5.841 MB / 0.7296 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/0.7592, allocations: 16.94 kB / 0.7296 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.7603, allocations: 283.5 kB / 0.7298 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.129e-05/0.7603, allocations: 32.73 kB / 0.7299 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.405e-05/0.7604, allocations: 52 kB / 0.7299 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-05/0.7604, allocations: 35.86 kB / 0.73 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.148e-05/0.7604, allocations: 27.88 kB / 0.73 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.7651, allocations: 3.322 MB / 0.7332 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.7661, allocations: 438.5 kB / 0.7337 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/0.7665, allocations: 53.11 kB / 0.7337 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.7677, allocations: 63.31 kB / 0.7338 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.7679, allocations: 147.4 kB / 0.7339 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.768, allocations: 64 kB / 0.734 GB, free: 3.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004642/0.7726, allocations: 2.516 MB / 0.7364 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7726, allocations: 0 / 0.7364 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005627/0.7782, allocations: 0.8905 MB / 0.7373 GB, free: 15.87 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.005229/0.7835, allocations: 3.988 MB / 0.7412 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007272/0.7907, allocations: 3.676 MB / 0.7448 GB, free: 8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/0.7908, allocations: 4 kB / 0.7448 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.7919, allocations: 0.7056 MB / 0.7455 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/0.7951, allocations: 476.8 kB / 0.7459 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07293/0.868, allocations: 41.76 MB / 0.7867 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006164/0.8742, allocations: 3.176 MB / 0.7898 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004527/0.8787, allocations: 1.816 MB / 0.7916 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003265/0.8819, allocations: 1.863 MB / 0.7934 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of SimCode: time 1.323e-06/0.8819, allocations: 0 / 0.7934 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.386/1.268, allocations: 59.17 MB / 0.8512 GB, free: 235.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/19.43, allocations: 11.09 kB / 0.8512 GB, free: 235.5 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.73944136299542]