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.001967/0.001967, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002622/0.002622, allocations: 205.7 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001931/0.001931, allocations: 59.91 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2273, allocations: 53.4 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01166/0.239, allocations: 8.989 MB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007989/0.247, allocations: 3.606 MB / 443.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.2482, allocations: 63.69 kB / 443.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003901/0.2521, allocations: 1.911 MB / 445.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004251/0.2563, allocations: 1.676 MB / 447.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.2579, allocations: 0.6122 MB / 448 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004809/0.2627, allocations: 3.361 MB / 451.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.2655, allocations: 2.102 MB / 453.5 MB, free: 12 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.2676, allocations: 1.261 MB / 454.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.2701, allocations: 1.713 MB / 456.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005216/0.2707, allocations: 256 kB / 456.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.2725, allocations: 0.9244 MB / 457.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.2742, allocations: 1.593 MB / 459.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.2759, allocations: 1.335 MB / 460.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00696/0.2829, allocations: 5.836 MB / 466.4 MB, free: 3.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2829, allocations: 4 kB / 466.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2829, allocations: 3.938 kB / 466.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.411e-05/0.283, allocations: 0 / 466.4 MB, free: 3.043 MB / 366.1 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.007782/0.2908, allocations: 4.03 MB / 470.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2908, allocations: 15.98 kB / 470.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000952/0.2918, allocations: 0.6082 MB / 471 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006456/0.2982, allocations: 1.8 MB / 472.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005204/0.3034, allocations: 2.113 MB / 475 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.3036, allocations: 196.8 kB / 475.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006577/0.3043, allocations: 247.9 kB / 475.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.3192, allocations: 8.472 MB / 483.9 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.826e-05/0.3193, allocations: 35.7 kB / 483.9 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/0.3197, allocations: 123.9 kB / 484 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002979/0.3226, allocations: 1.699 MB / 485.7 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.3368, allocations: 7.106 MB / 492.8 MB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04283/0.3796, allocations: 32.8 MB / 0.5133 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007618/0.3872, allocations: 2.723 MB / 0.516 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.3893, allocations: 1.365 MB / 0.5173 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00683/0.3961, allocations: 3.345 MB / 0.5206 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.3962, allocations: 47.09 kB / 0.5206 GB, free: 14.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.717e-06/0.3962, allocations: 0 / 0.5206 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.02952/0.4257, allocations: 11.58 MB / 0.5319 GB, free: 2.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.4258, allocations: 149 kB / 0.5321 GB, free: 2.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1857/0.6115, allocations: 3.918 MB / 0.5359 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.6118, allocations: 43.81 kB / 0.5359 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002045/0.6139, allocations: 2.862 MB / 0.5387 GB, free: 99.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005738/0.6144, allocations: 0.5438 MB / 0.5392 GB, free: 99.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.6158, allocations: 1.086 MB / 0.5403 GB, free: 99.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.6159, allocations: 303.3 kB / 0.5406 GB, free: 98.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.6183, allocations: 1.703 MB / 0.5423 GB, free: 98.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/0.6216, allocations: 5.123 MB / 0.5473 GB, free: 93.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005563/0.6271, allocations: 7.408 MB / 0.5545 GB, free: 86.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.676e-05/0.6272, allocations: 35.41 kB / 0.5545 GB, free: 86.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.00836/0.6356, allocations: 6.721 MB / 0.5611 GB, free: 82.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/0.6356, allocations: 56 kB / 0.5611 GB, free: 82.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.915e-05/0.6357, allocations: 124 kB / 0.5613 GB, free: 82.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/0.6362, allocations: 321.9 kB / 0.5616 GB, free: 82.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/0.6393, allocations: 1.238 MB / 0.5628 GB, free: 81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.6412, allocations: 2.382 MB / 0.5651 GB, free: 78.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/0.6444, allocations: 281.5 kB / 0.5654 GB, free: 78.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/0.6448, allocations: 335.8 kB / 0.5657 GB, free: 78.14 MB / 446.1 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.001844/0.6466, allocations: 1.789 MB / 0.5674 GB, free: 76.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004637/0.6471, allocations: 325.8 kB / 0.5678 GB, free: 76.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.651, allocations: 2.361 MB / 0.5701 GB, free: 74.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.651, allocations: 16 kB / 0.5701 GB, free: 74.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.651, allocations: 4 kB / 0.5701 GB, free: 74.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.651, allocations: 7.969 kB / 0.5701 GB, free: 74.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008727/0.6597, allocations: 5.642 MB / 0.5756 GB, free: 68.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6597, allocations: 0 / 0.5756 GB, free: 68.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/0.6605, allocations: 179.7 kB / 0.5758 GB, free: 68.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.6624, allocations: 0.7147 MB / 0.5765 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/0.6624, allocations: 20 kB / 0.5765 GB, free: 67.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00449/0.6669, allocations: 4.676 MB / 0.5811 GB, free: 62.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6669, allocations: 0 / 0.5811 GB, free: 62.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/0.6724, allocations: 4.346 MB / 0.5853 GB, free: 58.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008714/0.6733, allocations: 293.8 kB / 0.5856 GB, free: 58.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.6736, allocations: 28.86 kB / 0.5856 GB, free: 58.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.6747, allocations: 67.58 kB / 0.5857 GB, free: 57.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.6748, allocations: 72.47 kB / 0.5857 GB, free: 57.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/0.6749, allocations: 39.98 kB / 0.5858 GB, free: 57.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002591/0.6775, allocations: 2.319 MB / 0.588 GB, free: 55.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6775, allocations: 0 / 0.588 GB, free: 55.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003686/0.6812, allocations: 0.7929 MB / 0.5888 GB, free: 54.78 MB / 446.1 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.005574/0.6868, allocations: 4.99 MB / 0.5937 GB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004656/0.6914, allocations: 3.896 MB / 0.5975 GB, free: 45.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6914, allocations: 4 kB / 0.5975 GB, free: 45.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.6926, allocations: 1.033 MB / 0.5985 GB, free: 44.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.6947, allocations: 389.3 kB / 0.5989 GB, free: 44.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/0.732, allocations: 37.77 MB / 0.6358 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00266/0.7347, allocations: 2.232 MB / 0.6379 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003923/0.7386, allocations: 1.656 MB / 0.6396 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002465/0.7411, allocations: 1.522 MB / 0.641 GB, free: 12.04 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.7411, allocations: 0 / 0.641 GB, free: 12.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/0.8609, allocations: 57.98 MB / 0.6977 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.28, allocations: 11.44 kB / 0.6977 GB, free: 2.672 MB / 0.4981 GB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/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: 18.862565530464053]