Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008895/0.0008895, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008062/0.0008062, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8533/0.8533, allocations: 158.6 MB / 185 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1333/0.1333, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.571e-05, allocations: 5.938 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01112/0.01115, allocations: 9.999 MB / 416.9 MB, free: 3.461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007343/0.01849, allocations: 3.875 MB / 420.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.02074, allocations: 83.62 kB / 420.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.02446, allocations: 2.553 MB / 423.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004584/0.02904, allocations: 2.01 MB / 425.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.03078, allocations: 0.8499 MB / 426.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00624/0.03702, allocations: 5.091 MB / 431.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003533/0.04056, allocations: 3.293 MB / 434.6 MB, free: 1.609 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.153/0.1935, allocations: 2.457 MB / 437.1 MB, free: 19.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.1972, allocations: 2.513 MB / 439.6 MB, free: 19.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.1984, allocations: 342.7 kB / 439.9 MB, free: 19.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.2006, allocations: 0.935 MB / 440.9 MB, free: 19.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002437/0.203, allocations: 2.092 MB / 442.9 MB, free: 19.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002412/0.2054, allocations: 1.344 MB / 444.3 MB, free: 19.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007653/0.2131, allocations: 6.972 MB / 451.3 MB, free: 18.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2131, allocations: 0 / 451.3 MB, free: 18.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2131, allocations: 0.9688 kB / 451.3 MB, free: 18.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002715/0.2134, allocations: 4 kB / 451.3 MB, free: 18.28 MB / 362.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.01139/0.2248, allocations: 4.991 MB / 456.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.2248, allocations: 9.156 kB / 456.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001397/0.2262, allocations: 0.734 MB / 457 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.2315, allocations: 2.157 MB / 459.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004972/0.2364, allocations: 2.717 MB / 461.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.2366, allocations: 248 kB / 462.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009075/0.2375, allocations: 327.5 kB / 462.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.2506, allocations: 10.33 MB / 472.8 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.2507, allocations: 51.58 kB / 472.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003627/0.251, allocations: 162.1 kB / 473 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/0.2526, allocations: 1.898 MB / 474.9 MB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.2643, allocations: 8.144 MB / 483 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03669/0.301, allocations: 38.18 MB / 0.509 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005255/0.3062, allocations: 2.833 MB / 0.5117 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.3074, allocations: 0.9665 MB / 0.5127 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006679/0.3141, allocations: 4.498 MB / 0.5171 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3141, allocations: 49.91 kB / 0.5171 GB, free: 12.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=148): time 5.19e-06/0.3141, allocations: 0 / 0.5171 GB, free: 12.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=160): time 0.01694/0.331, allocations: 10.17 MB / 0.5271 GB, free: 2.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.3311, allocations: 196.9 kB / 0.5273 GB, free: 2.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005584/0.3367, allocations: 4.7 MB / 0.5318 GB, free: 13.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.3369, allocations: 57.61 kB / 0.5319 GB, free: 13.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.3385, allocations: 3.286 MB / 0.5351 GB, free: 9.977 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/0.3391, allocations: 0.6559 MB / 0.5357 GB, free: 9.328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.3402, allocations: 1.202 MB / 0.5369 GB, free: 8.117 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.3403, allocations: 308.7 kB / 0.5372 GB, free: 7.816 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/0.3425, allocations: 1.651 MB / 0.5388 GB, free: 6.156 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/0.3463, allocations: 5.576 MB / 0.5443 GB, free: 14.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/0.3524, allocations: 7.786 MB / 0.5519 GB, free: 5.105 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.3526, allocations: 40 kB / 0.5519 GB, free: 5.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.00996/0.3625, allocations: 6.919 MB / 0.5587 GB, free: 14.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/0.3626, allocations: 64 kB / 0.5587 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.3627, allocations: 140 kB / 0.5589 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.3628, allocations: 180 kB / 0.559 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.3655, allocations: 1.435 MB / 0.5604 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001315/0.3657, allocations: 267.2 kB / 0.5607 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/0.3689, allocations: 414.5 kB / 0.5611 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005346/0.3694, allocations: 376 kB / 0.5614 GB, free: 11.3 MB / 474.7 MB 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.003638/0.3731, allocations: 2.04 MB / 0.5634 GB, free: 9.246 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/0.3737, allocations: 369.5 kB / 0.5638 GB, free: 8.883 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.3754, allocations: 1.341 MB / 0.5651 GB, free: 7.527 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.3754, allocations: 23.98 kB / 0.5651 GB, free: 7.504 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3754, allocations: 0 / 0.5651 GB, free: 7.504 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3754, allocations: 3.984 kB / 0.5651 GB, free: 7.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/0.3831, allocations: 5.652 MB / 0.5707 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.3831, allocations: 16 kB / 0.5707 GB, free: 1.574 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.3837, allocations: 283.5 kB / 0.5709 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.915e-05/0.3838, allocations: 24 kB / 0.571 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/0.3838, allocations: 50.12 kB / 0.571 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-05/0.3839, allocations: 35.86 kB / 0.571 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/0.3839, allocations: 27.88 kB / 0.5711 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.3869, allocations: 3.262 MB / 0.5743 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.3883, allocations: 0.5285 MB / 0.5748 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.3886, allocations: 51.03 kB / 0.5748 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000913/0.3895, allocations: 127.8 kB / 0.5749 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3897, allocations: 147.3 kB / 0.5751 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.3897, allocations: 71.98 kB / 0.5751 GB, free: 12.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003913/0.3936, allocations: 2.833 MB / 0.5779 GB, free: 9.891 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3936, allocations: 0 / 0.5779 GB, free: 9.891 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003807/0.3975, allocations: 1.019 MB / 0.5789 GB, free: 8.871 MB / 490.7 MB 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.003243/0.4007, allocations: 3.964 MB / 0.5828 GB, free: 4.664 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004808/0.4055, allocations: 3.667 MB / 0.5864 GB, free: 1.031 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.4055, allocations: 0 / 0.5864 GB, free: 1.031 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00076/0.4063, allocations: 0.7068 MB / 0.5871 GB, free: 336 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.4087, allocations: 477 kB / 0.5875 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.199/0.6077, allocations: 42.88 MB / 0.6294 GB, free: 168.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/0.6107, allocations: 2.644 MB / 0.632 GB, free: 168 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002652/0.6133, allocations: 1.838 MB / 0.6338 GB, free: 168 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.6147, allocations: 1.888 MB / 0.6356 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/0.6147, allocations: 0 / 0.6356 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06672/0.6814, allocations: 61.34 MB / 0.6955 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.862/10.54, allocations: 8.016 kB / 0.6955 GB, free: 112.2 MB / 0.5105 GB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.635721716098487]