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.0008374/0.0008374, 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.0007518/0.0007518, allocations: 157 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.8867/0.8867, allocations: 173.3 MB / 200.4 MB, free: 9.43 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.674e-06/1.674e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.721e-05, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.007033/0.007051, allocations: 9.014 MB / 327.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005459/0.01251, allocations: 3.6 MB / 331 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.01354, allocations: 71.62 kB / 331.1 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.01566, allocations: 1.997 MB / 333.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.01814, allocations: 1.768 MB / 334.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009956/0.01913, allocations: 0.6664 MB / 335.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.02161, allocations: 3.691 MB / 339.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.02324, allocations: 2.379 MB / 341.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.02491, allocations: 1.902 MB / 343.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.02634, allocations: 1.824 MB / 345.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.02658, allocations: 260 kB / 345.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.02763, allocations: 0.9751 MB / 346.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008697/0.0285, allocations: 1.694 MB / 348.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007226/0.02922, allocations: 1.044 MB / 349.3 MB, free: 7.309 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.03307, allocations: 5.868 MB / 355.2 MB, free: 1.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.03308, allocations: 7.984 kB / 355.2 MB, free: 1.414 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.03308, allocations: 0 / 355.2 MB, free: 1.414 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.757e-05/0.03313, allocations: 0 / 355.2 MB, free: 1.414 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.004314/0.03744, allocations: 4.072 MB / 359.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.03749, allocations: 8.922 kB / 359.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004738/0.03796, allocations: 0.6043 MB / 359.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.04134, allocations: 1.859 MB / 361.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.04346, allocations: 1.93 MB / 363.7 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/0.04355, allocations: 188.8 kB / 363.8 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003596/0.04391, allocations: 255.9 kB / 364.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007509/0.05142, allocations: 8.452 MB / 372.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.097e-05/0.05148, allocations: 35.69 kB / 372.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.05171, allocations: 135.9 kB / 372.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001541/0.05325, allocations: 1.699 MB / 374.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008264/0.06152, allocations: 7.063 MB / 381.5 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/0.08739, allocations: 33.01 MB / 414.5 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/0.0918, allocations: 2.801 MB / 417.3 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.09335, allocations: 1.368 MB / 418.7 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004412/0.09776, allocations: 3.498 MB / 422.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.09779, allocations: 55.16 kB / 422.2 MB, free: 12.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 3.496e-06/0.09779, allocations: 0 / 422.2 MB, free: 12.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=129): time 0.0172/0.115, allocations: 11.89 MB / 434.1 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1151, allocations: 145.2 kB / 434.2 MB, free: 376 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/0.1188, allocations: 4.119 MB / 438.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.1189, allocations: 45.7 kB / 438.4 MB, free: 12.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.1201, allocations: 2.831 MB / 441.2 MB, free: 9.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.1205, allocations: 0.539 MB / 441.8 MB, free: 8.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000895/0.1214, allocations: 1.064 MB / 442.8 MB, free: 7.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1215, allocations: 305.1 kB / 443.1 MB, free: 7.426 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.1231, allocations: 1.697 MB / 444.8 MB, free: 5.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1325/0.2556, allocations: 5.112 MB / 449.9 MB, free: 114.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005128/0.2607, allocations: 7.4 MB / 457.3 MB, free: 109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.495e-05/0.2608, allocations: 33.75 kB / 457.4 MB, free: 109 MB / 410.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.007246/0.268, allocations: 6.718 MB / 464.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.2681, allocations: 55.69 kB / 464.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.352e-05/0.2682, allocations: 127.2 kB / 464.3 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.2686, allocations: 321 kB / 464.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.2706, allocations: 1.237 MB / 465.8 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.2721, allocations: 2.381 MB / 468.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.2745, allocations: 314.8 kB / 468.5 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/0.2748, allocations: 336.2 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.001789/0.2766, allocations: 1.791 MB / 470.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.277, allocations: 322.7 kB / 470.9 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.2796, allocations: 2.36 MB / 473.3 MB, free: 99.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.2796, allocations: 12 kB / 473.3 MB, free: 99.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2796, allocations: 4 kB / 473.3 MB, free: 99.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.2796, allocations: 7.703 kB / 473.3 MB, free: 99.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00656/0.2861, allocations: 5.717 MB / 479 MB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.2862, allocations: 3.984 kB / 479.1 MB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.2866, allocations: 171.7 kB / 479.2 MB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.2877, allocations: 0.7069 MB / 479.9 MB, free: 93.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.2877, allocations: 30.88 kB / 480 MB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00327/0.291, allocations: 4.726 MB / 484.7 MB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.291, allocations: 2.859 kB / 484.7 MB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.2947, allocations: 4.333 MB / 489 MB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/0.2953, allocations: 328.1 kB / 489.3 MB, free: 84.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.2956, allocations: 28.11 kB / 489.4 MB, free: 84.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/0.2963, allocations: 95.8 kB / 489.5 MB, free: 84.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.2964, allocations: 72.52 kB / 489.5 MB, free: 83.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.2965, allocations: 38.5 kB / 489.6 MB, free: 83.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002366/0.2988, allocations: 2.464 MB / 492 MB, free: 81.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2988, allocations: 0 / 492 MB, free: 81.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002866/0.3017, allocations: 0.8971 MB / 492.9 MB, free: 80.59 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.004026/0.3057, allocations: 4.987 MB / 497.9 MB, free: 75.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004365/0.3101, allocations: 3.879 MB / 0.49 GB, free: 71.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3101, allocations: 6.078 kB / 0.49 GB, free: 71.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008637/0.311, allocations: 1.041 MB / 0.4911 GB, free: 70.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.3126, allocations: 388.7 kB / 0.4914 GB, free: 70.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03311/0.3457, allocations: 38.14 MB / 0.5287 GB, free: 26.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/0.3475, allocations: 2.243 MB / 0.5309 GB, free: 24.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002197/0.3497, allocations: 1.668 MB / 0.5325 GB, free: 23.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.3509, allocations: 1.527 MB / 0.534 GB, free: 21.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3509, allocations: 0 / 0.534 GB, free: 21.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07875/0.4297, allocations: 59.75 MB / 0.5923 GB, free: 10.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.94/10.37, allocations: 7.438 kB / 0.5923 GB, free: 10.43 MB / 458.7 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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.467931620776653]