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.006489/0.006489, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001591/0.001591, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.282/1.282, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",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.001693/0.001693, allocations: 55.92 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2369, allocations: 49.15 MB / 397.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.00873/0.2456, allocations: 8.972 MB / 406.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006666/0.2523, allocations: 3.59 MB / 409.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.2539, allocations: 70.28 kB / 409.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.2575, allocations: 1.899 MB / 411.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.262, allocations: 1.707 MB / 413.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.2636, allocations: 0.6134 MB / 414 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004936/0.2685, allocations: 3.349 MB / 417.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.2711, allocations: 2.135 MB / 419.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.2729, allocations: 1.276 MB / 420.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.2752, allocations: 1.818 MB / 422.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004606/0.2757, allocations: 253.7 kB / 422.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.2775, allocations: 0.9481 MB / 423.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.2791, allocations: 1.616 MB / 425.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.2805, allocations: 1.355 MB / 426.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006269/0.2868, allocations: 5.894 MB / 432.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2868, allocations: 0 / 432.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2868, allocations: 7.938 kB / 432.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.591e-05/0.2869, allocations: 0 / 432.6 MB, free: 15.52 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.00665/0.2935, allocations: 4.069 MB / 436.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2936, allocations: 11.98 kB / 436.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.734e-05/0.2937, allocations: 85.16 kB / 436.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006926/0.2944, allocations: 0.6082 MB / 437.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005899/0.3003, allocations: 1.812 MB / 439.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.3048, allocations: 2.379 MB / 441.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.3049, allocations: 188.8 kB / 441.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000507/0.3055, allocations: 255.8 kB / 442 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.3189, allocations: 8.452 MB / 450.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-05/0.319, allocations: 43.62 kB / 450.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003294/0.3193, allocations: 127.9 kB / 450.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002762/0.3221, allocations: 1.695 MB / 452.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.3347, allocations: 7.09 MB / 459.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03909/0.3738, allocations: 32.82 MB / 492.3 MB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006954/0.3808, allocations: 2.723 MB / 495 MB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.3826, allocations: 1.365 MB / 496.3 MB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005945/0.3886, allocations: 3.342 MB / 499.7 MB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.3886, allocations: 47.16 kB / 499.7 MB, free: 10.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.349e-06/0.3886, allocations: 0 / 499.7 MB, free: 10.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02741/0.416, allocations: 11.59 MB / 0.4993 GB, free: 14.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.4161, allocations: 145.1 kB / 0.4995 GB, free: 14.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004991/0.4211, allocations: 3.755 MB / 0.5031 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.4213, allocations: 45.69 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00211/0.4234, allocations: 2.866 MB / 0.506 GB, free: 7.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/0.4239, allocations: 0.5351 MB / 0.5065 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.4253, allocations: 1.091 MB / 0.5076 GB, free: 6.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4254, allocations: 305.1 kB / 0.5079 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.4278, allocations: 1.689 MB / 0.5095 GB, free: 4.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005355/0.4331, allocations: 5.119 MB / 0.5145 GB, free: 13.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008408/0.4415, allocations: 7.408 MB / 0.5217 GB, free: 4.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.431e-05/0.4416, allocations: 36 kB / 0.5218 GB, free: 4.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01036/0.452, allocations: 6.717 MB / 0.5283 GB, free: 13.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.486e-05/0.452, allocations: 56.19 kB / 0.5284 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/0.4522, allocations: 124 kB / 0.5285 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/0.4528, allocations: 316.7 kB / 0.5288 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/0.4562, allocations: 1.24 MB / 0.53 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.4589, allocations: 2.389 MB / 0.5324 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/0.462, allocations: 283.6 kB / 0.5326 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004653/0.4625, allocations: 332 kB / 0.5329 GB, free: 8.777 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.002675/0.4652, allocations: 1.787 MB / 0.5347 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005239/0.4657, allocations: 333.7 kB / 0.535 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/0.4701, allocations: 2.351 MB / 0.5373 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.4701, allocations: 20 kB / 0.5373 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4701, allocations: 4 kB / 0.5373 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.4701, allocations: 7.969 kB / 0.5373 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.4806, allocations: 5.637 MB / 0.5428 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.4806, allocations: 0.5312 kB / 0.5428 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.4814, allocations: 179.7 kB / 0.543 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.4835, allocations: 0.7108 MB / 0.5437 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.4835, allocations: 20 kB / 0.5437 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006016/0.4896, allocations: 4.675 MB / 0.5483 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4896, allocations: 7.969 kB / 0.5483 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006883/0.4964, allocations: 4.335 MB / 0.5525 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.4978, allocations: 485.5 kB / 0.553 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/0.4982, allocations: 20 kB / 0.553 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/0.4992, allocations: 63.91 kB / 0.5531 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.4994, allocations: 72.47 kB / 0.5531 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.737e-05/0.4995, allocations: 35.98 kB / 0.5532 GB, free: 3.816 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003519/0.503, allocations: 2.335 MB / 0.5555 GB, free: 1.496 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.503, allocations: 0 / 0.5555 GB, free: 1.496 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003933/0.5069, allocations: 0.8163 MB / 0.5563 GB, free: 0.6797 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.1672/0.6741, allocations: 4.968 MB / 0.5611 GB, free: 143.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005644/0.6798, allocations: 3.877 MB / 0.5649 GB, free: 142.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6798, allocations: 0 / 0.5649 GB, free: 142.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.6811, allocations: 1.032 MB / 0.5659 GB, free: 141.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.6831, allocations: 393.4 kB / 0.5663 GB, free: 141.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/0.7193, allocations: 37.85 MB / 0.6032 GB, free: 112.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/0.7214, allocations: 2.243 MB / 0.6054 GB, free: 109.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002919/0.7243, allocations: 1.658 MB / 0.607 GB, free: 108.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/0.7258, allocations: 1.53 MB / 0.6085 GB, free: 106.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.834e-06/0.7258, allocations: 0 / 0.6085 GB, free: 106.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09/0.8158, allocations: 60.21 MB / 0.6673 GB, free: 46.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.3/24.12, allocations: 20.66 kB / 0.6674 GB, free: 46.27 MB / 478.1 MB " [Timeout remaining time 636] (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: 27.458274736069143]