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.001323/0.001323, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.001434/0.001434, allocations: 212.9 kB / 23.74 MB, free: 4.688 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2336/0.2336, allocations: 46.93 MB / 360.9 MB, free: 4.293 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.002587/0.002587, allocations: 71.89 kB / 0.4962 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3695, allocations: 66.02 MB / 0.5606 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01336/0.3828, allocations: 11.44 MB / 0.5718 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008695/0.3915, allocations: 4.11 MB / 0.5758 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.3933, allocations: 75.62 kB / 0.5759 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004741/0.398, allocations: 2.538 MB / 0.5784 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.4027, allocations: 1.883 MB / 0.5802 GB, free: 372 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.4043, allocations: 0.776 MB / 0.581 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005959/0.4103, allocations: 4.515 MB / 0.5854 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003358/0.4137, allocations: 2.791 MB / 0.5881 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.4159, allocations: 1.581 MB / 0.5897 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003498/0.4194, allocations: 2.395 MB / 0.592 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007434/0.4202, allocations: 336 kB / 0.5923 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.4222, allocations: 0.9948 MB / 0.5933 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.4242, allocations: 1.963 MB / 0.5952 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002678/0.4269, allocations: 2.233 MB / 0.5974 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008887/0.4357, allocations: 6.859 MB / 0.6041 GB, free: 7.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.4358, allocations: 4 kB / 0.6041 GB, free: 7.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4358, allocations: 0 / 0.6041 GB, free: 7.801 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002033/0.436, allocations: 0 / 0.6041 GB, free: 7.801 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.009837/0.4458, allocations: 4.867 MB / 0.6088 GB, free: 2.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4458, allocations: 12.03 kB / 0.6089 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001046/0.4469, allocations: 0.7241 MB / 0.6096 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007375/0.4543, allocations: 1.999 MB / 0.6115 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006658/0.4609, allocations: 2.707 MB / 0.6142 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.4612, allocations: 258.2 kB / 0.6144 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.4622, allocations: 331.8 kB / 0.6147 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.4805, allocations: 10.23 MB / 0.6247 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.4807, allocations: 47.64 kB / 0.6248 GB, free: 1.703 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/0.4811, allocations: 159.8 kB / 0.6249 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/0.4839, allocations: 1.911 MB / 0.6268 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.5007, allocations: 8.169 MB / 0.6348 GB, free: 7.445 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05075/0.5514, allocations: 39.18 MB / 0.673 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007838/0.5592, allocations: 2.723 MB / 0.6757 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.5611, allocations: 0.9631 MB / 0.6766 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009506/0.5706, allocations: 4.57 MB / 0.6811 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.5706, allocations: 55.48 kB / 0.6811 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 3.867e-06/0.5706, allocations: 0 / 0.6811 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02297/0.5936, allocations: 9.604 MB / 0.6905 GB, free: 13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.5937, allocations: 200.8 kB / 0.6907 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005955/0.5997, allocations: 4.064 MB / 0.6947 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.5999, allocations: 53.7 kB / 0.6947 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003527/0.6035, allocations: 3.306 MB / 0.698 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/0.6047, allocations: 0.663 MB / 0.6986 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/0.6067, allocations: 1.223 MB / 0.6998 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6069, allocations: 301.1 kB / 0.7001 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/0.6097, allocations: 1.644 MB / 0.7017 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005915/0.6156, allocations: 5.518 MB / 0.7071 GB, free: 9.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.6259, allocations: 7.775 MB / 0.7147 GB, free: 268 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/0.626, allocations: 40 kB / 0.7147 GB, free: 228 kB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01408/0.6401, allocations: 6.903 MB / 0.7214 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.6402, allocations: 64 kB / 0.7215 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002333/0.6405, allocations: 136 kB / 0.7216 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.6407, allocations: 180 kB / 0.7218 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/0.6453, allocations: 1.423 MB / 0.7232 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002923/0.6456, allocations: 270.9 kB / 0.7235 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/0.6499, allocations: 303.8 kB / 0.7237 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008428/0.6508, allocations: 376 kB / 0.7241 GB, free: 6.59 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.004095/0.6549, allocations: 2.04 MB / 0.7261 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000879/0.6557, allocations: 373.5 kB / 0.7265 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.6569, allocations: 418.7 kB / 0.7269 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.695e-05/0.6569, allocations: 16 kB / 0.7269 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.6569, allocations: 4 kB / 0.7269 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.6569, allocations: 7.922 kB / 0.7269 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.313/0.9699, allocations: 5.804 MB / 0.7325 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.97, allocations: 19.28 kB / 0.7326 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.971, allocations: 291.8 kB / 0.7328 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.203e-05/0.971, allocations: 24.36 kB / 0.7329 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.9711, allocations: 45.48 kB / 0.7329 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.827e-05/0.9711, allocations: 37.5 kB / 0.7329 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.288e-05/0.9711, allocations: 27.59 kB / 0.733 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.9748, allocations: 3.326 MB / 0.7362 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/0.9756, allocations: 355 kB / 0.7366 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.9759, allocations: 48.03 kB / 0.7366 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.977, allocations: 67.08 kB / 0.7367 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.9771, allocations: 151.2 kB / 0.7368 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.9772, allocations: 68.88 kB / 0.7369 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003357/0.9806, allocations: 2.517 MB / 0.7393 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9806, allocations: 0 / 0.7393 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004124/0.9847, allocations: 0.8794 MB / 0.7402 GB, free: 147.8 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.003393/0.9881, allocations: 3.994 MB / 0.7441 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005635/0.9937, allocations: 3.674 MB / 0.7477 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.9937, allocations: 2.5 kB / 0.7477 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.9945, allocations: 0.7079 MB / 0.7484 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.997, allocations: 478.1 kB / 0.7488 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04451/1.042, allocations: 41.76 MB / 0.7896 GB, free: 97.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/1.044, allocations: 3.17 MB / 0.7927 GB, free: 94.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003503/1.048, allocations: 1.812 MB / 0.7945 GB, free: 92.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.049, allocations: 1.866 MB / 0.7963 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/1.049, allocations: 0 / 0.7963 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/1.153, allocations: 64.02 MB / 0.8588 GB, free: 27.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.37/22.52, allocations: 4.781 kB / 0.8588 GB, free: 27.5 MB / 0.5606 GB " [Timeout remaining time 637] (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: 25.620577952999156]