Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.0009754/0.0009754, 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.0008179/0.0008179, allocations: 174 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.9107/0.9107, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 4 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.448e-05, allocations: 12.61 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.007313/0.007337, allocations: 8.999 MB / 333.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.01283, allocations: 3.619 MB / 337.2 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.01405, allocations: 63.69 kB / 337.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.01649, allocations: 1.997 MB / 339.3 MB, free: 1.184 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.0195, allocations: 1.73 MB / 341 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.02049, allocations: 0.6664 MB / 341.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003356/0.02385, allocations: 3.749 MB / 345.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.02607, allocations: 2.371 MB / 347.8 MB, free: 8.602 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.02838, allocations: 1.894 MB / 349.7 MB, free: 6.703 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.03017, allocations: 1.812 MB / 351.5 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003255/0.0305, allocations: 260 kB / 351.7 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.03169, allocations: 0.9673 MB / 352.7 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009743/0.03266, allocations: 1.663 MB / 354.4 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009446/0.03361, allocations: 1.036 MB / 355.4 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.03823, allocations: 5.821 MB / 361.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.03824, allocations: 0 / 361.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.03824, allocations: 0 / 361.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.927e-05/0.03834, allocations: 3.938 kB / 361.2 MB, free: 11.11 MB / 330.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.006298/0.04464, allocations: 4.053 MB / 365.3 MB, free: 7.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.04468, allocations: 8.031 kB / 365.3 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006361/0.04532, allocations: 0.6121 MB / 365.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/0.04887, allocations: 1.839 MB / 367.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.05172, allocations: 1.946 MB / 369.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.05183, allocations: 196.8 kB / 369.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004903/0.05232, allocations: 259.8 kB / 370.1 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.06273, allocations: 8.464 MB / 378.6 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.365e-05/0.06281, allocations: 39.64 kB / 378.6 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/0.0631, allocations: 127.9 kB / 378.8 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001671/0.06477, allocations: 1.699 MB / 380.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00937/0.07414, allocations: 7.079 MB / 387.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02864/0.1028, allocations: 32.98 MB / 420.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.1073, allocations: 2.829 MB / 423.3 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.1086, allocations: 1.361 MB / 424.7 MB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004528/0.1132, allocations: 3.518 MB / 428.2 MB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1132, allocations: 47.09 kB / 428.3 MB, free: 6.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 4.268e-06/0.1132, allocations: 0 / 428.3 MB, free: 6.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=129): time 0.01892/0.1321, allocations: 11.93 MB / 440.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.1322, allocations: 145.1 kB / 440.3 MB, free: 9.992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/0.1364, allocations: 4.103 MB / 444.4 MB, free: 5.895 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.1366, allocations: 41.7 kB / 444.5 MB, free: 5.848 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.138, allocations: 2.827 MB / 447.3 MB, free: 2.992 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004976/0.1385, allocations: 0.539 MB / 447.8 MB, free: 2.449 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.1395, allocations: 1.072 MB / 448.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.1396, allocations: 305.1 kB / 449.2 MB, free: 1.066 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1342/0.2738, allocations: 1.697 MB / 450.9 MB, free: 113.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/0.2768, allocations: 5.125 MB / 456 MB, free: 109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/0.281, allocations: 7.405 MB / 463.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.788e-05/0.281, allocations: 39.28 kB / 463.5 MB, free: 102.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.00619/0.2872, allocations: 6.719 MB / 470.2 MB, free: 99.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.2873, allocations: 56 kB / 470.3 MB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.13e-05/0.2873, allocations: 126.6 kB / 470.4 MB, free: 99.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/0.2877, allocations: 320.4 kB / 470.7 MB, free: 99.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.2895, allocations: 1.243 MB / 471.9 MB, free: 98.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.2908, allocations: 2.379 MB / 474.3 MB, free: 95.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.2929, allocations: 313.9 kB / 474.6 MB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.2931, allocations: 339.8 kB / 475 MB, free: 95.28 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.001502/0.2946, allocations: 1.785 MB / 476.7 MB, free: 93.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.295, allocations: 322 kB / 477.1 MB, free: 93.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.2974, allocations: 2.365 MB / 479.4 MB, free: 91.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.2975, allocations: 16 kB / 479.4 MB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2975, allocations: 4 kB / 479.4 MB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2975, allocations: 3.797 kB / 479.4 MB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00598/0.3034, allocations: 5.727 MB / 485.2 MB, free: 86.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.3035, allocations: 4 kB / 485.2 MB, free: 86.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.3039, allocations: 175.7 kB / 485.3 MB, free: 85.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.305, allocations: 0.7108 MB / 486.1 MB, free: 85.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.305, allocations: 24 kB / 486.1 MB, free: 85.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.3081, allocations: 4.732 MB / 490.8 MB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3081, allocations: 0 / 490.8 MB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.3119, allocations: 4.341 MB / 495.2 MB, free: 76.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.3125, allocations: 329.7 kB / 495.5 MB, free: 75.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.3128, allocations: 16 kB / 495.5 MB, free: 75.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/0.3135, allocations: 103.9 kB / 495.6 MB, free: 75.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3136, allocations: 73.5 kB / 495.7 MB, free: 75.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.3137, allocations: 36 kB / 495.7 MB, free: 75.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00232/0.316, allocations: 2.459 MB / 498.2 MB, free: 73.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.316, allocations: 3.938 kB / 498.2 MB, free: 73.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002765/0.3188, allocations: 0.8803 MB / 499 MB, free: 72.45 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.003757/0.3225, allocations: 5.005 MB / 0.4922 GB, free: 67.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.3262, allocations: 3.88 MB / 0.496 GB, free: 63.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3263, allocations: 0 / 0.496 GB, free: 63.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007996/0.327, allocations: 1.04 MB / 0.497 GB, free: 62.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.3285, allocations: 395.6 kB / 0.4974 GB, free: 62.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/0.3585, allocations: 38.15 MB / 0.5347 GB, free: 18.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.3601, allocations: 2.223 MB / 0.5368 GB, free: 16.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002041/0.3621, allocations: 1.671 MB / 0.5385 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.3633, allocations: 1.529 MB / 0.54 GB, free: 13.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.823e-06/0.3633, allocations: 0 / 0.54 GB, free: 13.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07242/0.4357, allocations: 59.53 MB / 0.5981 GB, free: 2.508 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.981/10.42, allocations: 7.922 kB / 0.5981 GB, free: 2.5 MB / 458.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.412912053987384]