Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008789/0.0008789, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008382/0.0008382, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8639/0.8639, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.575e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.009499/0.009525, allocations: 9 MB / 333.5 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005775/0.0153, allocations: 3.618 MB / 337.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.01679, allocations: 71.62 kB / 337.2 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.01943, allocations: 1.993 MB / 339.2 MB, free: 1.121 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.02275, allocations: 1.73 MB / 340.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.02384, allocations: 0.6586 MB / 341.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.02726, allocations: 3.753 MB / 345.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.02982, allocations: 2.375 MB / 347.7 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.03298, allocations: 1.89 MB / 349.6 MB, free: 6.645 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.0354, allocations: 1.812 MB / 351.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007828/0.03619, allocations: 260 kB / 351.7 MB, free: 4.574 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.03773, allocations: 0.9749 MB / 352.7 MB, free: 3.598 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.03917, allocations: 1.659 MB / 354.3 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.04065, allocations: 1.036 MB / 355.3 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005364/0.04601, allocations: 5.825 MB / 361.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.04602, allocations: 0 / 361.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.04602, allocations: 0 / 361.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.04617, allocations: 0 / 361.2 MB, free: 11.05 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.006328/0.0525, allocations: 4.054 MB / 365.2 MB, free: 6.941 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.05255, allocations: 11.98 kB / 365.2 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006864/0.05324, allocations: 0.612 MB / 365.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/0.05694, allocations: 1.839 MB / 367.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.05988, allocations: 1.938 MB / 369.6 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.05999, allocations: 196.8 kB / 369.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/0.06042, allocations: 251.8 kB / 370.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009916/0.07033, allocations: 8.468 MB / 378.5 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.247e-05/0.07042, allocations: 43.62 kB / 378.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.07071, allocations: 131.9 kB / 378.7 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001691/0.0724, allocations: 1.695 MB / 380.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009433/0.08184, allocations: 7.075 MB / 387.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02845/0.1103, allocations: 32.99 MB / 420.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004733/0.115, allocations: 2.829 MB / 423.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.1163, allocations: 1.361 MB / 424.7 MB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004733/0.1211, allocations: 3.514 MB / 428.2 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1211, allocations: 51.14 kB / 428.2 MB, free: 6.094 MB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 3.927e-06/0.1211, allocations: 0 / 428.2 MB, free: 6.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=129): time 0.01904/0.1402, allocations: 11.93 MB / 440.2 MB, free: 10.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1402, allocations: 137.2 kB / 440.3 MB, free: 9.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00469/0.1449, allocations: 4.103 MB / 444.4 MB, free: 5.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.1451, allocations: 45.98 kB / 444.4 MB, free: 5.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.1465, allocations: 2.827 MB / 447.3 MB, free: 2.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000578/0.1471, allocations: 0.5429 MB / 447.8 MB, free: 2.379 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.1484, allocations: 1.068 MB / 448.9 MB, free: 1.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1485, allocations: 305.1 kB / 449.2 MB, free: 1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1473/0.2958, allocations: 1.696 MB / 450.9 MB, free: 113.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.299, allocations: 5.124 MB / 456 MB, free: 108.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/0.303, allocations: 7.416 MB / 463.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-05/0.3031, allocations: 36.56 kB / 463.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.005466/0.3085, allocations: 6.721 MB / 470.2 MB, free: 99.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.3086, allocations: 56 kB / 470.2 MB, free: 99.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-05/0.3086, allocations: 124.1 kB / 470.3 MB, free: 99.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.3089, allocations: 317.9 kB / 470.6 MB, free: 99.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.3106, allocations: 1.24 MB / 471.9 MB, free: 98.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.3119, allocations: 2.38 MB / 474.3 MB, free: 95.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.3138, allocations: 321.6 kB / 474.6 MB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.314, allocations: 333.3 kB / 474.9 MB, free: 95.17 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.001594/0.3156, allocations: 1.788 MB / 476.7 MB, free: 93.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.3158, allocations: 327.7 kB / 477 MB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.3181, allocations: 2.369 MB / 479.4 MB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.3181, allocations: 12 kB / 479.4 MB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3181, allocations: 4 kB / 479.4 MB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3181, allocations: 11.69 kB / 479.4 MB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/0.3234, allocations: 5.715 MB / 485.1 MB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3234, allocations: 3.984 kB / 485.1 MB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.3238, allocations: 175.7 kB / 485.3 MB, free: 85.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.3248, allocations: 0.7184 MB / 486 MB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.3248, allocations: 20 kB / 486 MB, free: 85.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/0.3278, allocations: 4.717 MB / 490.8 MB, free: 80.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3278, allocations: 3.938 kB / 490.8 MB, free: 80.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.3311, allocations: 4.347 MB / 495.1 MB, free: 76.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.3314, allocations: 325 kB / 495.4 MB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.3316, allocations: 25.8 kB / 495.4 MB, free: 75.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/0.3322, allocations: 99.78 kB / 495.5 MB, free: 75.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3323, allocations: 72.47 kB / 495.6 MB, free: 75.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.3323, allocations: 39.98 kB / 495.7 MB, free: 75.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001778/0.3341, allocations: 2.455 MB / 498.1 MB, free: 73.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3341, allocations: 4 kB / 498.1 MB, free: 73.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0026/0.3367, allocations: 0.8795 MB / 499 MB, free: 72.31 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.003873/0.3406, allocations: 4.998 MB / 0.4922 GB, free: 67.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.3443, allocations: 3.884 MB / 0.496 GB, free: 63.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3444, allocations: 0 / 0.496 GB, free: 63.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007694/0.3451, allocations: 1.041 MB / 0.497 GB, free: 62.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3463, allocations: 396.2 kB / 0.4974 GB, free: 62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/0.3718, allocations: 38.15 MB / 0.5346 GB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/0.3734, allocations: 2.225 MB / 0.5368 GB, free: 16.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00206/0.3755, allocations: 1.664 MB / 0.5384 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.3766, allocations: 1.52 MB / 0.5399 GB, free: 13.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3766, allocations: 0 / 0.5399 GB, free: 13.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06649/0.4431, allocations: 59.54 MB / 0.598 GB, free: 2.293 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.242/9.685, allocations: 3.859 kB / 0.5981 GB, free: 2.289 MB / 458.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 11.646153841167688]