Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001803/0.001803, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.92 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 83.88 kB / 0.491 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1287, allocations: 66.04 MB / 0.5555 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01401/0.1427, allocations: 11.42 MB / 0.5666 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0091/0.1518, allocations: 4.077 MB / 0.5706 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.1536, allocations: 79.62 kB / 0.5707 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005461/0.1591, allocations: 2.523 MB / 0.5731 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005295/0.1644, allocations: 1.879 MB / 0.575 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.1663, allocations: 0.7799 MB / 0.5757 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006559/0.1728, allocations: 4.508 MB / 0.5801 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004337/0.1772, allocations: 2.87 MB / 0.5829 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.18, allocations: 1.581 MB / 0.5845 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00373/0.1838, allocations: 2.407 MB / 0.5868 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.1848, allocations: 332 kB / 0.5872 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.1873, allocations: 0.9831 MB / 0.5881 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002512/0.1898, allocations: 1.967 MB / 0.59 GB, free: 2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2656/0.4554, allocations: 2.232 MB / 0.5922 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009262/0.4647, allocations: 6.852 MB / 0.5989 GB, free: 11.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4647, allocations: 0 / 0.5989 GB, free: 11.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4647, allocations: 1.188 kB / 0.5989 GB, free: 11.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002965/0.465, allocations: 0 / 0.5989 GB, free: 11.07 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.01426/0.4793, allocations: 4.941 MB / 0.6037 GB, free: 9.008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4793, allocations: 10.86 kB / 0.6037 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001743/0.481, allocations: 0.7284 MB / 0.6045 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008843/0.4899, allocations: 1.996 MB / 0.6064 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007108/0.497, allocations: 2.788 MB / 0.6091 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004635/0.4975, allocations: 256.3 kB / 0.6094 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/0.4997, allocations: 334.9 kB / 0.6097 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02469/0.5243, allocations: 10.23 MB / 0.6197 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.5245, allocations: 51.84 kB / 0.6197 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008029/0.5253, allocations: 162.6 kB / 0.6199 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002829/0.5282, allocations: 1.9 MB / 0.6217 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.5445, allocations: 8.17 MB / 0.6297 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05309/0.5976, allocations: 39.32 MB / 0.6681 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009043/0.6066, allocations: 3.177 MB / 0.6712 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/0.6084, allocations: 0.9553 MB / 0.6722 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009555/0.6179, allocations: 5.995 MB / 0.678 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.618, allocations: 50.56 kB / 0.6781 GB, free: 148 kB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.669e-06/0.618, allocations: 0 / 0.6781 GB, free: 148 kB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.02603/0.644, allocations: 9.753 MB / 0.6876 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.6441, allocations: 196.9 kB / 0.6878 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006488/0.6506, allocations: 4.064 MB / 0.6917 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003232/0.651, allocations: 52.36 kB / 0.6918 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002667/0.6536, allocations: 3.308 MB / 0.695 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008681/0.6545, allocations: 0.6627 MB / 0.6957 GB, free: 14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001664/0.6562, allocations: 1.213 MB / 0.6969 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6563, allocations: 304.9 kB / 0.6971 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/0.6591, allocations: 1.651 MB / 0.6988 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005986/0.6651, allocations: 5.516 MB / 0.7041 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.6754, allocations: 7.78 MB / 0.7117 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/0.6756, allocations: 44 kB / 0.7118 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01499/0.6905, allocations: 6.89 MB / 0.7185 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6906, allocations: 66.19 kB / 0.7186 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001727/0.6908, allocations: 136 kB / 0.7187 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.691, allocations: 184.1 kB / 0.7189 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005014/0.696, allocations: 1.431 MB / 0.7203 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002255/0.6963, allocations: 268.8 kB / 0.7205 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/0.7007, allocations: 303.6 kB / 0.7208 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009856/0.7017, allocations: 378.1 kB / 0.7212 GB, free: 0.7383 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.004495/0.7062, allocations: 2.025 MB / 0.7232 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009566/0.7071, allocations: 373.5 kB / 0.7235 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.7083, allocations: 418.7 kB / 0.7239 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-05/0.7083, allocations: 20.81 kB / 0.7239 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.7083, allocations: 4 kB / 0.7239 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.7084, allocations: 11.91 kB / 0.724 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.7202, allocations: 5.843 MB / 0.7297 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/0.7203, allocations: 16 kB / 0.7297 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.7214, allocations: 284.8 kB / 0.7299 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-05/0.7214, allocations: 24 kB / 0.73 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/0.7215, allocations: 47.98 kB / 0.73 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-05/0.7215, allocations: 36.36 kB / 0.73 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-05/0.7215, allocations: 31.88 kB / 0.7301 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.7259, allocations: 3.321 MB / 0.7333 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009412/0.7269, allocations: 434.5 kB / 0.7337 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003364/0.7272, allocations: 51.98 kB / 0.7338 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.7283, allocations: 66.61 kB / 0.7338 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.7285, allocations: 147.4 kB / 0.734 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.7286, allocations: 64.88 kB / 0.734 GB, free: 2.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004435/0.733, allocations: 2.516 MB / 0.7365 GB, free: 480 kB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.733, allocations: 0 / 0.7365 GB, free: 480 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.005067/0.7381, allocations: 0.8866 MB / 0.7374 GB, free: 15.58 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.005015/0.7431, allocations: 3.99 MB / 0.7413 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006946/0.75, allocations: 3.681 MB / 0.7449 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/0.75, allocations: 4 kB / 0.7449 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.7512, allocations: 0.7116 MB / 0.7456 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.7543, allocations: 475.4 kB / 0.746 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06669/0.8209, allocations: 41.76 MB / 0.7868 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003973/0.8249, allocations: 3.17 MB / 0.7899 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004044/0.829, allocations: 1.816 MB / 0.7917 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/0.8315, allocations: 1.872 MB / 0.7935 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of SimCode: time 7.41e-07/0.8315, allocations: 0 / 0.7935 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/1.193, allocations: 59.14 MB / 0.8513 GB, free: 235.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/19.62, allocations: 7.25 kB / 0.8513 GB, free: 235.7 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.770925648044795]