Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.851/0.851, allocations: 173.4 MB / 200.4 MB, free: 9.406 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 318.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.311e-05, allocations: 2.281 kB / 318.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.007984/0.007998, allocations: 9.014 MB / 327.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005807/0.0138, allocations: 3.6 MB / 331.1 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007959/0.0146, allocations: 75.62 kB / 331.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.01655, allocations: 1.993 MB / 333.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.01902, allocations: 1.761 MB / 334.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.01983, allocations: 0.6702 MB / 335.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.02213, allocations: 3.687 MB / 339.2 MB, free: 1.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.02401, allocations: 2.379 MB / 341.6 MB, free: 15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.02536, allocations: 1.914 MB / 343.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.02674, allocations: 1.816 MB / 345.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.02697, allocations: 260 kB / 345.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009781/0.02795, allocations: 0.979 MB / 346.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.02903, allocations: 1.683 MB / 348.3 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006699/0.0297, allocations: 1.055 MB / 349.3 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003658/0.03336, allocations: 5.868 MB / 355.2 MB, free: 1.395 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.03336, allocations: 0 / 355.2 MB, free: 1.395 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.03336, allocations: 0 / 355.2 MB, free: 1.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.316e-05/0.0334, allocations: 0 / 355.2 MB, free: 1.395 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.003847/0.03724, allocations: 4.078 MB / 359.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.03728, allocations: 12.92 kB / 359.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004598/0.03774, allocations: 0.6043 MB / 359.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.04103, allocations: 1.847 MB / 361.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.04329, allocations: 1.94 MB / 363.7 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/0.04338, allocations: 184.8 kB / 363.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.04367, allocations: 259.8 kB / 364.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/0.05127, allocations: 8.448 MB / 372.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-05/0.05133, allocations: 39.64 kB / 372.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/0.05156, allocations: 135.8 kB / 372.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001547/0.0531, allocations: 1.691 MB / 374.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008526/0.06163, allocations: 7.075 MB / 381.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.08633, allocations: 33 MB / 414.5 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.09048, allocations: 2.805 MB / 417.3 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.09161, allocations: 1.36 MB / 418.6 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003859/0.09547, allocations: 3.51 MB / 422.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.0955, allocations: 47.22 kB / 422.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 2.765e-06/0.0955, allocations: 4 kB / 422.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=129): time 0.01715/0.1127, allocations: 11.9 MB / 434.1 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1127, allocations: 141.2 kB / 434.2 MB, free: 348 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.1162, allocations: 4.115 MB / 438.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/0.1162, allocations: 41.7 kB / 438.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.1174, allocations: 2.842 MB / 441.2 MB, free: 9.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/0.118, allocations: 0.535 MB / 441.8 MB, free: 8.773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008748/0.1189, allocations: 1.064 MB / 442.8 MB, free: 7.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.1189, allocations: 301.1 kB / 443.1 MB, free: 7.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.1205, allocations: 1.697 MB / 444.8 MB, free: 5.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1435/0.264, allocations: 5.112 MB / 449.9 MB, free: 114.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005528/0.2695, allocations: 7.399 MB / 457.3 MB, free: 109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.541e-05/0.2695, allocations: 33.78 kB / 457.4 MB, free: 109 MB / 410.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.005704/0.2752, allocations: 6.719 MB / 464.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.2753, allocations: 55.88 kB / 464.2 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.181e-05/0.2753, allocations: 120.2 kB / 464.3 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.2757, allocations: 321.9 kB / 464.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.2775, allocations: 1.239 MB / 465.8 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.2789, allocations: 2.379 MB / 468.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/0.2821, allocations: 315.2 kB / 468.5 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005249/0.2826, allocations: 339.5 kB / 468.8 MB, free: 103.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002102/0.2847, allocations: 1.792 MB / 470.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/0.2851, allocations: 327.7 kB / 471 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.2877, allocations: 2.351 MB / 473.3 MB, free: 99.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.2878, allocations: 12 kB / 473.3 MB, free: 99.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2878, allocations: 4 kB / 473.3 MB, free: 99.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.2878, allocations: 15.5 kB / 473.3 MB, free: 99.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00652/0.2943, allocations: 5.717 MB / 479 MB, free: 94.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.2943, allocations: 0 / 479 MB, free: 94.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.2947, allocations: 175.8 kB / 479.2 MB, free: 94.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.2958, allocations: 0.7069 MB / 479.9 MB, free: 93.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.2959, allocations: 20 kB / 479.9 MB, free: 93.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.299, allocations: 4.732 MB / 484.7 MB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.299, allocations: 0 / 484.7 MB, free: 88.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.3025, allocations: 4.334 MB / 489 MB, free: 84.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.303, allocations: 334.4 kB / 489.3 MB, free: 84.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.3032, allocations: 20 kB / 489.4 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/0.3039, allocations: 102.3 kB / 489.5 MB, free: 84.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.304, allocations: 68.52 kB / 489.5 MB, free: 83.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.3041, allocations: 36 kB / 489.6 MB, free: 83.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001906/0.306, allocations: 2.464 MB / 492 MB, free: 81.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.306, allocations: 0 / 492 MB, free: 81.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002509/0.3085, allocations: 0.9037 MB / 492.9 MB, free: 80.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003809/0.3123, allocations: 4.988 MB / 497.9 MB, free: 75.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003401/0.3157, allocations: 3.88 MB / 0.49 GB, free: 71.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3157, allocations: 0 / 0.49 GB, free: 71.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.3164, allocations: 1.038 MB / 0.4911 GB, free: 70.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.3177, allocations: 396.2 kB / 0.4914 GB, free: 70.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02683/0.3445, allocations: 38.14 MB / 0.5287 GB, free: 26.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.346, allocations: 2.24 MB / 0.5309 GB, free: 24.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001905/0.3479, allocations: 1.668 MB / 0.5325 GB, free: 23.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.3489, allocations: 1.527 MB / 0.534 GB, free: 21.49 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3489, allocations: 0 / 0.534 GB, free: 21.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0725/0.4214, allocations: 59.76 MB / 0.5923 GB, free: 10.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.43, allocations: 4 kB / 0.5923 GB, free: 10.41 MB / 458.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.347800615243614]