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.001315/0.001315, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.001454/0.001454, allocations: 209.4 kB / 24.47 MB, free: 3.547 MB / 14.72 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 1.37/1.37, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 55.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2263, allocations: 49.16 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.00917/0.2355, allocations: 9.016 MB / 405.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00658/0.2421, allocations: 3.609 MB / 409 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.2436, allocations: 66.41 kB / 409 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.2471, allocations: 1.905 MB / 410.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004594/0.2517, allocations: 1.715 MB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.2532, allocations: 0.6104 MB / 413.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004991/0.2582, allocations: 3.342 MB / 416.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.2613, allocations: 2.123 MB / 418.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.264, allocations: 1.273 MB / 420 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.2672, allocations: 1.727 MB / 421.7 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009117/0.2681, allocations: 253.1 kB / 422 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.2707, allocations: 0.9254 MB / 422.9 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.2728, allocations: 1.624 MB / 424.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.2751, allocations: 1.355 MB / 425.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007931/0.2831, allocations: 5.895 MB / 431.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2831, allocations: 0 / 431.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2831, allocations: 0 / 431.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001354/0.2832, allocations: 0 / 431.8 MB, free: 15.55 MB / 350.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.00799/0.2912, allocations: 4.077 MB / 435.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2912, allocations: 11.98 kB / 435.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008303/0.2921, allocations: 0.6043 MB / 436.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0065/0.2986, allocations: 1.808 MB / 438.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005369/0.3039, allocations: 2.372 MB / 440.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.3041, allocations: 196.8 kB / 440.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005938/0.3047, allocations: 251.8 kB / 441.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/0.3193, allocations: 8.46 MB / 449.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.3194, allocations: 43.64 kB / 449.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003503/0.3197, allocations: 119.9 kB / 449.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002942/0.3227, allocations: 1.699 MB / 451.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.3365, allocations: 7.082 MB / 458.5 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04276/0.3793, allocations: 32.82 MB / 491.3 MB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007489/0.3868, allocations: 2.732 MB / 494.1 MB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.3888, allocations: 1.357 MB / 495.4 MB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006631/0.3954, allocations: 3.338 MB / 498.7 MB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.3955, allocations: 51.16 kB / 498.8 MB, free: 10.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.087e-06/0.3955, allocations: 0 / 498.8 MB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.03003/0.4255, allocations: 11.59 MB / 0.4984 GB, free: 14.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4256, allocations: 149.1 kB / 0.4986 GB, free: 14.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005521/0.4312, allocations: 3.948 MB / 0.5024 GB, free: 10.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.4313, allocations: 49.61 kB / 0.5025 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00238/0.4337, allocations: 2.866 MB / 0.5053 GB, free: 7.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006591/0.4344, allocations: 0.539 MB / 0.5058 GB, free: 7.363 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001464/0.4358, allocations: 1.084 MB / 0.5068 GB, free: 6.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.436, allocations: 301.1 kB / 0.5071 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/0.4387, allocations: 1.701 MB / 0.5088 GB, free: 4.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005955/0.4447, allocations: 5.108 MB / 0.5138 GB, free: 13.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009645/0.4543, allocations: 7.404 MB / 0.521 GB, free: 4.316 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.951e-05/0.4544, allocations: 39.94 kB / 0.5211 GB, free: 4.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01192/0.4663, allocations: 6.717 MB / 0.5276 GB, free: 13.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.893e-05/0.4664, allocations: 60.06 kB / 0.5277 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/0.4666, allocations: 124 kB / 0.5278 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000669/0.4673, allocations: 321.1 kB / 0.5281 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003728/0.471, allocations: 1.236 MB / 0.5293 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.474, allocations: 2.385 MB / 0.5316 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/0.4775, allocations: 287.6 kB / 0.5319 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006476/0.4782, allocations: 328 kB / 0.5322 GB, free: 8.711 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.002992/0.4812, allocations: 1.803 MB / 0.534 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006851/0.4819, allocations: 329.7 kB / 0.5343 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005131/0.487, allocations: 2.355 MB / 0.5366 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/0.487, allocations: 16 kB / 0.5366 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.487, allocations: 4 kB / 0.5366 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.487, allocations: 3.984 kB / 0.5366 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.4999, allocations: 5.644 MB / 0.5421 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.5, allocations: 7.984 kB / 0.5421 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/0.5008, allocations: 171.7 kB / 0.5423 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/0.5031, allocations: 0.7147 MB / 0.543 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.5032, allocations: 20 kB / 0.543 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006971/0.5102, allocations: 4.655 MB / 0.5476 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5102, allocations: 0 / 0.5476 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007692/0.5179, allocations: 4.343 MB / 0.5518 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/0.5194, allocations: 477.5 kB / 0.5523 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00057/0.52, allocations: 28 kB / 0.5523 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.5213, allocations: 63.91 kB / 0.5523 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.5215, allocations: 72.52 kB / 0.5524 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.5216, allocations: 32 kB / 0.5524 GB, free: 3.758 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004105/0.5257, allocations: 2.339 MB / 0.5547 GB, free: 1.434 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5257, allocations: 0 / 0.5547 GB, free: 1.434 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004063/0.5298, allocations: 0.8241 MB / 0.5555 GB, free: 0.6094 MB / 478.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.1775/0.7073, allocations: 4.963 MB / 0.5604 GB, free: 142.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005607/0.7129, allocations: 3.885 MB / 0.5642 GB, free: 141 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7129, allocations: 0 / 0.5642 GB, free: 141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.7142, allocations: 1.032 MB / 0.5652 GB, free: 140.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.7163, allocations: 385.8 kB / 0.5655 GB, free: 140.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03882/0.7552, allocations: 37.85 MB / 0.6025 GB, free: 111.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/0.7573, allocations: 2.244 MB / 0.6047 GB, free: 109.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002917/0.7602, allocations: 1.648 MB / 0.6063 GB, free: 107.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/0.7616, allocations: 1.53 MB / 0.6078 GB, free: 106.2 MB / 478.1 MB Notification: Performance of SimCode: time 6.92e-07/0.7616, allocations: 0 / 0.6078 GB, free: 106.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09446/0.8561, allocations: 58.26 MB / 0.6647 GB, free: 47.87 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/16.79, allocations: 11.8 kB / 0.6647 GB, free: 47.86 MB / 478.1 MB " [Timeout remaining time 643] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/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: 19.255149364005774]