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.001792/0.001792, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001927/0.001927, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 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 1.474/1.474, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001741/0.001741, allocations: 51.92 kB / 365.7 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.112, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01399/0.1259, allocations: 10.26 MB / 428.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008326/0.1343, allocations: 3.825 MB / 431.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.1359, allocations: 67.69 kB / 431.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003835/0.1397, allocations: 1.962 MB / 433.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.1442, allocations: 1.704 MB / 435.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1457, allocations: 0.6199 MB / 436.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004766/0.1505, allocations: 3.325 MB / 439.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/0.1534, allocations: 2.185 MB / 441.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.1555, allocations: 1.265 MB / 443 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/0.1581, allocations: 1.818 MB / 444.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005541/0.1587, allocations: 256 kB / 445.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.1608, allocations: 1.065 MB / 446.1 MB, free: 132 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2191/0.3799, allocations: 1.609 MB / 447.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.3817, allocations: 1.833 MB / 449.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007372/0.3891, allocations: 5.858 MB / 455.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3891, allocations: 1.703 kB / 455.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3891, allocations: 0 / 455.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002336/0.3893, allocations: 1.312 kB / 455.4 MB, free: 10.18 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.01218/0.4015, allocations: 4.136 MB / 459.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.994e-05/0.4016, allocations: 9.188 kB / 459.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001259/0.4028, allocations: 0.6044 MB / 460.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006624/0.4094, allocations: 1.813 MB / 462 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005268/0.4147, allocations: 2.269 MB / 464.3 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.4149, allocations: 193 kB / 464.5 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007052/0.4156, allocations: 255.2 kB / 464.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.43, allocations: 8.431 MB / 473.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.4301, allocations: 38.02 kB / 473.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003743/0.4305, allocations: 126.8 kB / 473.3 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002823/0.4333, allocations: 1.696 MB / 475 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.4465, allocations: 7.096 MB / 482.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04722/0.4937, allocations: 34.09 MB / 0.5041 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008233/0.502, allocations: 3.174 MB / 0.5072 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.5042, allocations: 1.367 MB / 0.5085 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008326/0.5125, allocations: 4.361 MB / 0.5128 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.82e-05/0.5126, allocations: 50.25 kB / 0.5128 GB, free: 7.562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.418e-06/0.5126, allocations: 0 / 0.5128 GB, free: 7.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.03476/0.5473, allocations: 11.71 MB / 0.5243 GB, free: 11.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.928e-05/0.5474, allocations: 147.9 kB / 0.5244 GB, free: 11.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008187/0.5556, allocations: 3.731 MB / 0.528 GB, free: 7.883 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.556, allocations: 43.11 kB / 0.5281 GB, free: 7.836 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00296/0.559, allocations: 2.87 MB / 0.5309 GB, free: 4.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.56, allocations: 0.5415 MB / 0.5314 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00296/0.563, allocations: 1.082 MB / 0.5325 GB, free: 3.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.5632, allocations: 317 kB / 0.5328 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003283/0.5664, allocations: 1.689 MB / 0.5344 GB, free: 1.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00691/0.5734, allocations: 5.119 MB / 0.5394 GB, free: 10.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.5837, allocations: 7.392 MB / 0.5466 GB, free: 1.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/0.5838, allocations: 36 kB / 0.5467 GB, free: 1.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01457/0.5984, allocations: 6.722 MB / 0.5532 GB, free: 11.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.5985, allocations: 60.03 kB / 0.5533 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002558/0.5988, allocations: 128 kB / 0.5534 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.5996, allocations: 316.7 kB / 0.5537 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004664/0.6043, allocations: 1.232 MB / 0.5549 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.6075, allocations: 2.503 MB / 0.5574 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/0.6119, allocations: 279.6 kB / 0.5576 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/0.6129, allocations: 334.2 kB / 0.558 GB, free: 6.402 MB / 462.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.004606/0.6175, allocations: 1.788 MB / 0.5597 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009022/0.6184, allocations: 333.8 kB / 0.56 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005886/0.6243, allocations: 2.351 MB / 0.5623 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/0.6244, allocations: 16 kB / 0.5623 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.6244, allocations: 4 kB / 0.5623 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.6244, allocations: 7.984 kB / 0.5623 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.6389, allocations: 5.907 MB / 0.5681 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.6389, allocations: 4 kB / 0.5681 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008791/0.6398, allocations: 171.7 kB / 0.5683 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.6421, allocations: 0.7147 MB / 0.569 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.6423, allocations: 22.42 kB / 0.569 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006815/0.6491, allocations: 4.815 MB / 0.5737 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6491, allocations: 4.031 kB / 0.5737 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00751/0.6566, allocations: 4.327 MB / 0.5779 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.6578, allocations: 382.8 kB / 0.5783 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008144/0.6586, allocations: 30.11 kB / 0.5783 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.6602, allocations: 68.05 kB / 0.5784 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.6605, allocations: 68.5 kB / 0.5785 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.6606, allocations: 39.98 kB / 0.5785 GB, free: 1.125 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00513/0.6657, allocations: 2.319 MB / 0.5808 GB, free: 14.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6657, allocations: 3.469 kB / 0.5808 GB, free: 14.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00556/0.6713, allocations: 0.8222 MB / 0.5816 GB, free: 14 MB / 494.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.008354/0.6796, allocations: 4.97 MB / 0.5864 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00732/0.6869, allocations: 3.874 MB / 0.5902 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.6869, allocations: 4.188 kB / 0.5902 GB, free: 5.129 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.6886, allocations: 1.029 MB / 0.5912 GB, free: 4.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/0.6929, allocations: 391.4 kB / 0.5916 GB, free: 3.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07249/0.7653, allocations: 37.7 MB / 0.6284 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004742/0.7701, allocations: 2.791 MB / 0.6311 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004227/0.7743, allocations: 1.656 MB / 0.6327 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002868/0.7772, allocations: 1.519 MB / 0.6342 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of SimCode: time 1.883e-06/0.7772, allocations: 4 kB / 0.6342 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3313/1.108, allocations: 58.06 MB / 0.6909 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.81/24.92, allocations: 7.859 kB / 0.6909 GB, free: 157.2 MB / 0.5294 GB " [Timeout remaining time 635] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/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: 27.596470719203353]