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.001389/0.001389, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 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.001626/0.001626, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.513/1.513, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.001998/0.001998, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2797, allocations: 49.15 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01027/0.29, allocations: 10.33 MB / 406.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008552/0.2985, allocations: 3.827 MB / 410.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.3008, allocations: 74.31 kB / 410.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005038/0.3058, allocations: 1.98 MB / 412.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.3118, allocations: 1.71 MB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.3136, allocations: 0.6128 MB / 414.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005549/0.3192, allocations: 3.339 MB / 418.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003916/0.3231, allocations: 2.134 MB / 420.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.3257, allocations: 1.268 MB / 421.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.3291, allocations: 1.826 MB / 423.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009591/0.33, allocations: 253.3 kB / 423.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.333, allocations: 1.065 MB / 424.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.3354, allocations: 1.613 MB / 426.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003625/0.339, allocations: 1.844 MB / 428.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009345/0.3484, allocations: 5.872 MB / 434.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3484, allocations: 0 / 434.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3484, allocations: 0 / 434.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002576/0.3487, allocations: 0 / 434.1 MB, free: 13.45 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.01026/0.3589, allocations: 4.069 MB / 438.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.359, allocations: 11.98 kB / 438.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001585/0.3606, allocations: 0.6082 MB / 438.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006911/0.3675, allocations: 1.808 MB / 440.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005865/0.3733, allocations: 2.371 MB / 443 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.3735, allocations: 188.8 kB / 443.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.3746, allocations: 263.8 kB / 443.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/0.3923, allocations: 8.423 MB / 451.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.3925, allocations: 39.64 kB / 451.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008347/0.3934, allocations: 131.9 kB / 452 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003119/0.3965, allocations: 1.691 MB / 453.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.4107, allocations: 7.106 MB / 460.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04587/0.4565, allocations: 33.99 MB / 494.8 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007598/0.4641, allocations: 2.726 MB / 497.5 MB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00216/0.4663, allocations: 1.357 MB / 498.9 MB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008372/0.4747, allocations: 3.673 MB / 0.4908 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.4747, allocations: 47.22 kB / 0.4908 GB, free: 7.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.829e-06/0.4747, allocations: 0 / 0.4908 GB, free: 7.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.0324/0.5071, allocations: 11.54 MB / 0.5021 GB, free: 11.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.5072, allocations: 153 kB / 0.5022 GB, free: 11.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006935/0.5142, allocations: 3.751 MB / 0.5059 GB, free: 7.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.5144, allocations: 45.69 kB / 0.5059 GB, free: 7.473 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002344/0.5168, allocations: 2.862 MB / 0.5087 GB, free: 4.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006978/0.5175, allocations: 0.5351 MB / 0.5092 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/0.5194, allocations: 1.087 MB / 0.5103 GB, free: 2.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5196, allocations: 301.1 kB / 0.5106 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/0.5223, allocations: 1.697 MB / 0.5122 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005566/0.5279, allocations: 5.119 MB / 0.5172 GB, free: 10.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009546/0.5375, allocations: 7.403 MB / 0.5245 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/0.5376, allocations: 36 kB / 0.5245 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01421/0.5518, allocations: 6.711 MB / 0.5311 GB, free: 10.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.552, allocations: 60 kB / 0.5311 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002458/0.5522, allocations: 120 kB / 0.5312 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007878/0.553, allocations: 321 kB / 0.5315 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004291/0.5573, allocations: 1.244 MB / 0.5327 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.5604, allocations: 2.389 MB / 0.5351 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/0.5645, allocations: 291.6 kB / 0.5354 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009921/0.5655, allocations: 335.9 kB / 0.5357 GB, free: 5.363 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.003876/0.5694, allocations: 1.789 MB / 0.5374 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008086/0.5702, allocations: 333.7 kB / 0.5377 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/0.5757, allocations: 2.355 MB / 0.54 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/0.5757, allocations: 16 kB / 0.5401 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.5757, allocations: 4 kB / 0.5401 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.5757, allocations: 4.453 kB / 0.5401 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.5904, allocations: 5.886 MB / 0.5458 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.5904, allocations: 0 / 0.5458 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008876/0.5913, allocations: 171.8 kB / 0.546 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.5935, allocations: 0.7224 MB / 0.5467 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.5937, allocations: 23.94 kB / 0.5467 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006703/0.6004, allocations: 4.71 MB / 0.5513 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6004, allocations: 12.05 kB / 0.5513 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007216/0.6076, allocations: 4.323 MB / 0.5555 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/0.609, allocations: 485.5 kB / 0.556 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006069/0.6096, allocations: 20 kB / 0.556 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.6109, allocations: 67.89 kB / 0.5561 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.6111, allocations: 76.45 kB / 0.5562 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6112, allocations: 36 kB / 0.5562 GB, free: 116 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.2026/0.8138, allocations: 2.338 MB / 0.5585 GB, free: 143.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8138, allocations: 1.531 kB / 0.5585 GB, free: 143.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005785/0.8196, allocations: 0.8132 MB / 0.5593 GB, free: 143.7 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.007996/0.8276, allocations: 4.968 MB / 0.5641 GB, free: 141.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006785/0.8344, allocations: 3.879 MB / 0.5679 GB, free: 140.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8344, allocations: 0 / 0.5679 GB, free: 140.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.8358, allocations: 1.029 MB / 0.5689 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.8382, allocations: 395.5 kB / 0.5693 GB, free: 139.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04441/0.8826, allocations: 37.85 MB / 0.6063 GB, free: 108.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003113/0.8857, allocations: 2.794 MB / 0.609 GB, free: 105.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003579/0.8893, allocations: 1.656 MB / 0.6106 GB, free: 104.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/0.8915, allocations: 1.53 MB / 0.6121 GB, free: 102.6 MB / 478.1 MB Notification: Performance of SimCode: time 2.074e-06/0.8915, allocations: 0 / 0.6121 GB, free: 102.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4262/1.318, allocations: 62.5 MB / 0.6731 GB, free: 39.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 25.08/26.4, allocations: 3.953 kB / 0.6731 GB, free: 39.98 MB / 478.1 MB " [Timeout remaining time 633] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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: 30.392381321871653]