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.0007991/0.0007991, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007877/0.0007877, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8983/0.8983, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2562/0.2562, allocations: 32.78 MB / 293.5 MB, free: 1.242 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.192e-05, allocations: 2.844 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.1856/0.1856, allocations: 9.944 MB / 449.5 MB, free: 41.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006026/0.1916, allocations: 3.883 MB / 453.4 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.1931, allocations: 75.59 kB / 453.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.1957, allocations: 2.552 MB / 456 MB, free: 37.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.1993, allocations: 1.963 MB / 458 MB, free: 36.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.2004, allocations: 0.8487 MB / 458.9 MB, free: 36.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005091/0.2055, allocations: 5.193 MB / 464 MB, free: 34.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/0.209, allocations: 3.278 MB / 467.3 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.2123, allocations: 2.426 MB / 469.7 MB, free: 32.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.2145, allocations: 2.497 MB / 472.2 MB, free: 31.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000462/0.215, allocations: 339 kB / 472.6 MB, free: 31.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.2163, allocations: 0.9189 MB / 473.5 MB, free: 31.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009768/0.2172, allocations: 2.058 MB / 475.6 MB, free: 30.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.2183, allocations: 1.312 MB / 476.9 MB, free: 30 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007143/0.2254, allocations: 6.892 MB / 483.8 MB, free: 27.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2254, allocations: 0 / 483.8 MB, free: 27.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2254, allocations: 1.125 kB / 483.8 MB, free: 27.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002936/0.2257, allocations: 0 / 483.8 MB, free: 27.57 MB / 410.7 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.01203/0.2377, allocations: 4.939 MB / 488.7 MB, free: 24.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.2378, allocations: 8.719 kB / 488.7 MB, free: 24.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001634/0.2394, allocations: 0.7285 MB / 489.4 MB, free: 24.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00555/0.245, allocations: 2.148 MB / 491.6 MB, free: 24.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.2501, allocations: 2.397 MB / 494 MB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.2503, allocations: 249 kB / 494.2 MB, free: 22.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.2513, allocations: 336.9 kB / 494.6 MB, free: 22.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/0.2692, allocations: 10.35 MB / 0.4931 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.2694, allocations: 50.75 kB / 0.4931 GB, free: 16.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004456/0.2699, allocations: 160.4 kB / 0.4933 GB, free: 16.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/0.2717, allocations: 1.907 MB / 0.4951 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.2834, allocations: 8.174 MB / 0.5031 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03824/0.3217, allocations: 38.05 MB / 0.5403 GB, free: 1.059 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/0.327, allocations: 2.859 MB / 0.5431 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.3285, allocations: 0.9568 MB / 0.544 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0068/0.3353, allocations: 4.474 MB / 0.5484 GB, free: 8.676 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.3354, allocations: 51.56 kB / 0.5484 GB, free: 8.617 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 3.687e-06/0.3354, allocations: 0 / 0.5484 GB, free: 8.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.01637/0.3517, allocations: 10.03 MB / 0.5582 GB, free: 14.54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.3518, allocations: 204.8 kB / 0.5584 GB, free: 14.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/0.3569, allocations: 4.604 MB / 0.5629 GB, free: 9.656 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.3571, allocations: 45.7 kB / 0.5629 GB, free: 9.605 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.3589, allocations: 3.279 MB / 0.5661 GB, free: 6.293 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.3594, allocations: 0.6552 MB / 0.5668 GB, free: 5.633 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.3605, allocations: 1.195 MB / 0.568 GB, free: 4.426 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.3606, allocations: 304.9 kB / 0.5682 GB, free: 4.129 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.3625, allocations: 1.667 MB / 0.5699 GB, free: 2.457 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/0.3663, allocations: 5.58 MB / 0.5753 GB, free: 10.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007251/0.3736, allocations: 7.803 MB / 0.5829 GB, free: 1.203 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/0.3737, allocations: 40 kB / 0.583 GB, free: 1.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01222/0.3859, allocations: 6.939 MB / 0.5898 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.386, allocations: 64.19 kB / 0.5898 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/0.3862, allocations: 136 kB / 0.5899 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.3863, allocations: 183.9 kB / 0.5901 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/0.3894, allocations: 1.439 MB / 0.5915 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001495/0.3895, allocations: 267 kB / 0.5918 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.393, allocations: 403.5 kB / 0.5922 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005677/0.3936, allocations: 380 kB / 0.5925 GB, free: 7.379 MB / 0.4948 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.00282/0.3964, allocations: 2.042 MB / 0.5945 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/0.397, allocations: 365.6 kB / 0.5949 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/0.3975, allocations: 414.7 kB / 0.5953 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.3976, allocations: 20 kB / 0.5953 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.3976, allocations: 4 kB / 0.5953 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3976, allocations: 3.984 kB / 0.5953 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007593/0.4052, allocations: 5.642 MB / 0.6008 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.4052, allocations: 20 kB / 0.6008 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.4058, allocations: 287.7 kB / 0.6011 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/0.4059, allocations: 24 kB / 0.6011 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.329e-05/0.4059, allocations: 47.98 kB / 0.6012 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-05/0.4059, allocations: 40.88 kB / 0.6012 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/0.4059, allocations: 31.86 kB / 0.6012 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.4094, allocations: 3.296 MB / 0.6045 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/0.4104, allocations: 401.4 kB / 0.6048 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/0.4107, allocations: 51.98 kB / 0.6049 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008857/0.4116, allocations: 111.9 kB / 0.605 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.4117, allocations: 155.3 kB / 0.6051 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/0.4118, allocations: 64 kB / 0.6052 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003884/0.4157, allocations: 2.762 MB / 0.6079 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4157, allocations: 4 kB / 0.6079 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004935/0.4206, allocations: 0.9882 MB / 0.6089 GB, free: 6.078 MB / 0.5105 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.004166/0.4248, allocations: 3.963 MB / 0.6127 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005522/0.4303, allocations: 3.698 MB / 0.6164 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-05/0.4303, allocations: 4 kB / 0.6164 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000853/0.4312, allocations: 0.7074 MB / 0.617 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.4341, allocations: 478.9 kB / 0.6175 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2302/0.6642, allocations: 42.51 MB / 0.659 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/0.6671, allocations: 2.628 MB / 0.6616 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003606/0.6707, allocations: 1.829 MB / 0.6634 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/0.6728, allocations: 1.876 MB / 0.6652 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.154e-06/0.6728, allocations: 5.094 kB / 0.6652 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08313/0.756, allocations: 60.5 MB / 0.7243 GB, free: 90.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.903/10.66, allocations: 7.156 kB / 0.7243 GB, free: 90.09 MB / 0.5261 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/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: 12.8298255559057]