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.001735/0.001735, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002478/0.002478, allocations: 211.2 kB / 23.73 MB, free: 4.387 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 / 257.5 MB, free: 7.785 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.2345/0.2345, allocations: 46.95 MB / 360.9 MB, free: 4.031 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.002251/0.002251, allocations: 59.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01254/0.3563, allocations: 9.939 MB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009239/0.3655, allocations: 3.873 MB / 0.5741 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.3677, allocations: 83.56 kB / 0.5742 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005189/0.3729, allocations: 2.437 MB / 0.5765 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.3784, allocations: 1.887 MB / 0.5784 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.3804, allocations: 0.78 MB / 0.5792 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006573/0.3869, allocations: 4.507 MB / 0.5836 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/0.3904, allocations: 2.767 MB / 0.5863 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.393, allocations: 1.585 MB / 0.5878 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.3965, allocations: 2.266 MB / 0.59 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008134/0.3973, allocations: 332 kB / 0.5903 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.3992, allocations: 0.8622 MB / 0.5912 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002003/0.4012, allocations: 1.967 MB / 0.5931 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.4033, allocations: 1.67 MB / 0.5947 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008256/0.4115, allocations: 6.886 MB / 0.6015 GB, free: 10.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.4115, allocations: 4 kB / 0.6015 GB, free: 10.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4115, allocations: 0 / 0.6015 GB, free: 10.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002082/0.4117, allocations: 0 / 0.6015 GB, free: 10.18 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.01279/0.4245, allocations: 4.861 MB / 0.6062 GB, free: 5.262 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4246, allocations: 12.03 kB / 0.6062 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001406/0.426, allocations: 0.7319 MB / 0.6069 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007802/0.4338, allocations: 1.995 MB / 0.6089 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007982/0.4418, allocations: 2.726 MB / 0.6115 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.4421, allocations: 262.2 kB / 0.6118 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.4431, allocations: 323.8 kB / 0.6121 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/0.4649, allocations: 10.34 MB / 0.6222 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002143/0.4651, allocations: 47.58 kB / 0.6222 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.4662, allocations: 159.9 kB / 0.6224 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003333/0.4696, allocations: 1.904 MB / 0.6243 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02038/0.49, allocations: 8.153 MB / 0.6322 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05848/0.5484, allocations: 37.81 MB / 0.6691 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008998/0.5574, allocations: 2.722 MB / 0.6718 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/0.5594, allocations: 0.9595 MB / 0.6727 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.5697, allocations: 4.34 MB / 0.677 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/0.5698, allocations: 51.5 kB / 0.677 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 5.05e-06/0.5698, allocations: 0 / 0.677 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02671/0.5965, allocations: 9.616 MB / 0.6864 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.5967, allocations: 196.9 kB / 0.6866 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01107/0.6077, allocations: 4.292 MB / 0.6908 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003356/0.6081, allocations: 53.69 kB / 0.6908 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004565/0.6126, allocations: 3.31 MB / 0.6941 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.614, allocations: 0.6591 MB / 0.6947 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003455/0.6174, allocations: 1.223 MB / 0.6959 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6176, allocations: 305.1 kB / 0.6962 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/0.6221, allocations: 1.644 MB / 0.6978 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009493/0.6316, allocations: 5.572 MB / 0.7033 GB, free: 13.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/0.6464, allocations: 7.772 MB / 0.7108 GB, free: 3.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001911/0.6465, allocations: 40 kB / 0.7109 GB, free: 3.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.02157/0.6681, allocations: 6.899 MB / 0.7176 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.6683, allocations: 64 kB / 0.7177 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002827/0.6686, allocations: 139.9 kB / 0.7178 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.6688, allocations: 180 kB / 0.718 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007182/0.676, allocations: 1.423 MB / 0.7194 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003755/0.6764, allocations: 267.2 kB / 0.7196 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007234/0.6836, allocations: 307.6 kB / 0.7199 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/0.6849, allocations: 376 kB / 0.7203 GB, free: 10.15 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.004936/0.6898, allocations: 2.033 MB / 0.7223 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.6909, allocations: 365.6 kB / 0.7226 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.6919, allocations: 414.7 kB / 0.723 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/0.692, allocations: 16 kB / 0.723 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.692, allocations: 4 kB / 0.723 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.692, allocations: 15.84 kB / 0.723 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.7065, allocations: 5.56 MB / 0.7285 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/0.7065, allocations: 20.03 kB / 0.7285 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.7082, allocations: 283.5 kB / 0.7288 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.963e-05/0.7082, allocations: 24 kB / 0.7288 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.7084, allocations: 52 kB / 0.7288 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-05/0.7084, allocations: 35.86 kB / 0.7289 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.01e-05/0.7084, allocations: 27.88 kB / 0.7289 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3007/1.009, allocations: 3.325 MB / 0.7321 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.01, allocations: 355.5 kB / 0.7325 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/1.011, allocations: 55.28 kB / 0.7325 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.012, allocations: 62.03 kB / 0.7326 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/1.012, allocations: 149.7 kB / 0.7327 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.216e-05/1.012, allocations: 69 kB / 0.7328 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003609/1.016, allocations: 2.514 MB / 0.7353 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.016, allocations: 0 / 0.7353 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004544/1.02, allocations: 0.8784 MB / 0.7361 GB, free: 149.6 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.00397/1.024, allocations: 3.99 MB / 0.74 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007957/1.032, allocations: 3.673 MB / 0.7436 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-05/1.032, allocations: 3.938 kB / 0.7436 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.033, allocations: 0.7086 MB / 0.7443 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.037, allocations: 483.8 kB / 0.7448 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05589/1.093, allocations: 41.75 MB / 0.7855 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004003/1.097, allocations: 2.631 MB / 0.7881 GB, free: 97.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003644/1.1, allocations: 1.816 MB / 0.7899 GB, free: 95.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.102, allocations: 1.862 MB / 0.7917 GB, free: 94.12 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/1.102, allocations: 4 kB / 0.7917 GB, free: 94.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.204, allocations: 58.79 MB / 0.8491 GB, free: 36.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/17.09, allocations: 7.344 kB / 0.8491 GB, free: 36.18 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.235555720049888]