Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001641/0.001641, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001686/0.001686, allocations: 209.3 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 55.91 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2762, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01103/0.2873, allocations: 8.982 MB / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007725/0.295, allocations: 3.606 MB / 443.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.2965, allocations: 67.69 kB / 443.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003792/0.3003, allocations: 1.904 MB / 445.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.3043, allocations: 1.677 MB / 447.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3057, allocations: 0.616 MB / 447.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004299/0.31, allocations: 3.356 MB / 451.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.3124, allocations: 2.106 MB / 453.4 MB, free: 180 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.3143, allocations: 1.257 MB / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.3166, allocations: 1.72 MB / 456.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004714/0.3171, allocations: 256 kB / 456.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.3188, allocations: 0.9283 MB / 457.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001542/0.3203, allocations: 1.597 MB / 459.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.3218, allocations: 1.328 MB / 460.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006566/0.3284, allocations: 5.84 MB / 466.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3284, allocations: 0 / 466.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3284, allocations: 0 / 466.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.175e-05/0.3285, allocations: 0 / 466.3 MB, free: 3.207 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.007293/0.3357, allocations: 4.038 MB / 470.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3358, allocations: 12.03 kB / 470.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006956/0.3365, allocations: 0.6043 MB / 471 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005853/0.3423, allocations: 1.8 MB / 472.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/0.3466, allocations: 2.113 MB / 474.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.3468, allocations: 188.8 kB / 475.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004302/0.3472, allocations: 247.9 kB / 475.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.3592, allocations: 8.468 MB / 483.8 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.913e-05/0.3593, allocations: 43.64 kB / 483.8 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/0.3596, allocations: 127.8 kB / 484 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002695/0.3623, allocations: 1.695 MB / 485.7 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.3742, allocations: 7.094 MB / 492.7 MB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03749/0.4117, allocations: 32.81 MB / 0.5132 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006966/0.4186, allocations: 2.72 MB / 0.5159 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.4205, allocations: 1.369 MB / 0.5172 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006022/0.4265, allocations: 3.341 MB / 0.5205 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.4265, allocations: 47.22 kB / 0.5205 GB, free: 14.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.917e-06/0.4265, allocations: 4 kB / 0.5205 GB, free: 14.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.02979/0.4563, allocations: 11.58 MB / 0.5318 GB, free: 2.957 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.4565, allocations: 145 kB / 0.532 GB, free: 2.785 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2444/0.7009, allocations: 3.927 MB / 0.5358 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.7012, allocations: 45.48 kB / 0.5359 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.7028, allocations: 2.858 MB / 0.5387 GB, free: 100.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004707/0.7033, allocations: 0.5399 MB / 0.5392 GB, free: 99.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.7046, allocations: 1.089 MB / 0.5402 GB, free: 99.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.7047, allocations: 301.1 kB / 0.5405 GB, free: 98.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/0.7071, allocations: 1.701 MB / 0.5422 GB, free: 98.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/0.7106, allocations: 5.127 MB / 0.5472 GB, free: 93.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005318/0.7159, allocations: 7.409 MB / 0.5544 GB, free: 86.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.583e-05/0.716, allocations: 31.41 kB / 0.5545 GB, free: 86.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.007635/0.7236, allocations: 6.725 MB / 0.561 GB, free: 82.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.7237, allocations: 60 kB / 0.5611 GB, free: 82.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.636e-05/0.7237, allocations: 120 kB / 0.5612 GB, free: 82.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.7242, allocations: 324.7 kB / 0.5615 GB, free: 82.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/0.7271, allocations: 1.238 MB / 0.5627 GB, free: 81.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.729, allocations: 2.374 MB / 0.565 GB, free: 78.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/0.7322, allocations: 289.7 kB / 0.5653 GB, free: 78.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/0.7325, allocations: 335.3 kB / 0.5656 GB, free: 78.36 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.002019/0.7345, allocations: 1.791 MB / 0.5674 GB, free: 76.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006368/0.7351, allocations: 325.8 kB / 0.5677 GB, free: 76.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.739, allocations: 2.36 MB / 0.57 GB, free: 74.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.739, allocations: 16 kB / 0.57 GB, free: 74.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.739, allocations: 4 kB / 0.57 GB, free: 74.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.739, allocations: 15.91 kB / 0.57 GB, free: 74.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009489/0.7485, allocations: 5.631 MB / 0.5755 GB, free: 68.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.7485, allocations: 4.062 kB / 0.5755 GB, free: 68.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/0.7492, allocations: 179.7 kB / 0.5757 GB, free: 68.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.751, allocations: 0.7146 MB / 0.5764 GB, free: 67.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.7511, allocations: 23.98 kB / 0.5764 GB, free: 67.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004301/0.7554, allocations: 4.672 MB / 0.581 GB, free: 62.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7554, allocations: 1.078 kB / 0.581 GB, free: 62.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/0.7605, allocations: 4.352 MB / 0.5852 GB, free: 58.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007825/0.7613, allocations: 301.7 kB / 0.5855 GB, free: 58.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/0.7618, allocations: 16 kB / 0.5855 GB, free: 58.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.763, allocations: 67.91 kB / 0.5856 GB, free: 58.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.7631, allocations: 68.47 kB / 0.5857 GB, free: 58.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.623e-05/0.7632, allocations: 39.98 kB / 0.5857 GB, free: 58.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002407/0.7656, allocations: 2.319 MB / 0.588 GB, free: 55.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7656, allocations: 4.062 kB / 0.588 GB, free: 55.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003171/0.7688, allocations: 0.8045 MB / 0.5888 GB, free: 54.96 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.005428/0.7742, allocations: 4.978 MB / 0.5936 GB, free: 49.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004408/0.7786, allocations: 3.896 MB / 0.5974 GB, free: 46.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/0.7786, allocations: 0 / 0.5974 GB, free: 46.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.7797, allocations: 1.034 MB / 0.5984 GB, free: 45.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.7818, allocations: 394.6 kB / 0.5988 GB, free: 44.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03756/0.8194, allocations: 37.77 MB / 0.6357 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002912/0.8223, allocations: 2.228 MB / 0.6379 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003829/0.8261, allocations: 1.664 MB / 0.6395 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002156/0.8283, allocations: 1.515 MB / 0.641 GB, free: 12.25 MB / 462.1 MB Notification: Performance of SimCode: time 1.273e-06/0.8283, allocations: 0 / 0.641 GB, free: 12.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.934/3.762, allocations: 58.01 MB / 0.6976 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/23.34, allocations: 10.81 kB / 0.6976 GB, free: 2.98 MB / 0.4981 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/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_4.1.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: 26.757697165943682]