Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009858/0.0009858, allocations: 83.64 kB / 21.43 MB, free: 3.137 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.004633/0.004633, allocations: 164.1 kB / 24.7 MB, free: 9.414 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.8193/0.8193, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.401e-05, allocations: 6.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1134/0.1134, allocations: 9.022 MB / 307.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004672/0.1181, allocations: 3.6 MB / 311.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006403/0.1187, allocations: 70.03 kB / 311.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.1207, allocations: 1.999 MB / 313.1 MB, free: 7.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.1229, allocations: 1.768 MB / 314.9 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007769/0.1236, allocations: 0.6522 MB / 315.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.1261, allocations: 3.706 MB / 319.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.1277, allocations: 2.382 MB / 321.6 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.1291, allocations: 1.916 MB / 323.6 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.1306, allocations: 1.823 MB / 325.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.131, allocations: 258.7 kB / 325.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.132, allocations: 0.9798 MB / 326.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000753/0.1328, allocations: 1.697 MB / 328.3 MB, free: 196 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008736/0.1336, allocations: 1.046 MB / 329.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.1377, allocations: 5.896 MB / 335.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1377, allocations: 1.969 kB / 335.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1377, allocations: 0 / 335.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.652e-05/0.1378, allocations: 0 / 335.3 MB, free: 9.805 MB / 298.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.004206/0.142, allocations: 4.084 MB / 339.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.142, allocations: 15.98 kB / 339.4 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005054/0.1425, allocations: 0.612 MB / 340 MB, free: 5.027 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.1459, allocations: 1.843 MB / 341.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.1481, allocations: 2.11 MB / 343.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.1482, allocations: 192.8 kB / 344.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.1485, allocations: 251.8 kB / 344.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007284/0.1558, allocations: 8.448 MB / 352.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-05/0.1559, allocations: 43.64 kB / 352.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.1561, allocations: 123.9 kB / 353 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001513/0.1576, allocations: 1.707 MB / 354.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007192/0.1648, allocations: 7.071 MB / 361.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.1856, allocations: 33.07 MB / 394.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.1895, allocations: 2.802 MB / 397.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.1906, allocations: 1.363 MB / 399 MB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003449/0.1941, allocations: 3.53 MB / 402.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1941, allocations: 43.22 kB / 402.6 MB, free: 4.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=121): time 2.745e-06/0.1941, allocations: 0 / 402.6 MB, free: 4.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=129): time 0.01608/0.2102, allocations: 12.01 MB / 414.6 MB, free: 8.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.2102, allocations: 141.2 kB / 414.7 MB, free: 8.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.2136, allocations: 4.166 MB / 418.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.2136, allocations: 45.7 kB / 418.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.2148, allocations: 2.827 MB / 421.7 MB, free: 1.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.2151, allocations: 0.5312 MB / 422.3 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008423/0.216, allocations: 1.072 MB / 423.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.216, allocations: 317 kB / 423.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.2176, allocations: 1.693 MB / 425.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/0.2208, allocations: 5.119 MB / 430.5 MB, free: 6.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005485/0.2262, allocations: 7.398 MB / 437.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.485e-05/0.2263, allocations: 32 kB / 437.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.006532/0.2328, allocations: 6.716 MB / 444.6 MB, free: 6.977 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.2329, allocations: 63.94 kB / 444.7 MB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.43e-05/0.2329, allocations: 124 kB / 444.8 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.2333, allocations: 321.5 kB / 445.1 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.2354, allocations: 1.236 MB / 446.3 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.237, allocations: 2.385 MB / 448.7 MB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.2388, allocations: 323.6 kB / 449 MB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.2391, allocations: 332 kB / 449.4 MB, free: 2.098 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.001626/0.2407, allocations: 1.791 MB / 451.2 MB, free: 300 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.241, allocations: 326 kB / 451.5 MB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.2439, allocations: 2.359 MB / 453.8 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.2439, allocations: 16 kB / 453.8 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.2439, allocations: 7.984 kB / 453.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2439, allocations: 3.984 kB / 453.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006358/0.2502, allocations: 5.746 MB / 459.6 MB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2502, allocations: 0 / 459.6 MB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.2506, allocations: 171.7 kB / 459.8 MB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.2518, allocations: 0.7225 MB / 460.5 MB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.2519, allocations: 20 kB / 460.5 MB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004005/0.2559, allocations: 4.722 MB / 465.2 MB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2559, allocations: 7.938 kB / 465.2 MB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1156/0.3715, allocations: 4.315 MB / 469.6 MB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.3726, allocations: 0.502 MB / 470.1 MB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.3728, allocations: 25.89 kB / 470.1 MB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.3735, allocations: 104 kB / 470.2 MB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.3737, allocations: 69.73 kB / 470.3 MB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.3737, allocations: 31.91 kB / 470.3 MB, free: 134.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002554/0.3763, allocations: 2.504 MB / 472.8 MB, free: 133.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3763, allocations: 2.938 kB / 472.8 MB, free: 133.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002501/0.3788, allocations: 0.906 MB / 473.7 MB, free: 133.7 MB / 426.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.004359/0.3831, allocations: 4.982 MB / 478.7 MB, free: 131.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003829/0.387, allocations: 3.88 MB / 482.6 MB, free: 130.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.387, allocations: 1.281 kB / 482.6 MB, free: 130.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.388, allocations: 1.027 MB / 483.6 MB, free: 129.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.3893, allocations: 400.5 kB / 484 MB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/0.4156, allocations: 38.4 MB / 0.5101 GB, free: 97.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.417, allocations: 2.236 MB / 0.5123 GB, free: 95.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001894/0.4189, allocations: 1.669 MB / 0.514 GB, free: 93.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.42, allocations: 1.535 MB / 0.5155 GB, free: 91.97 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.42, allocations: 0 / 0.5155 GB, free: 91.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/0.4762, allocations: 60.08 MB / 0.5741 GB, free: 31.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.68, allocations: 15.89 kB / 0.5741 GB, free: 31.79 MB / 426.7 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.366277788765728]