Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00209/0.00209, allocations: 109.1 kB / 21.22 MB, free: 0.7383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001912, allocations: 210.7 kB / 24.53 MB, free: 4.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 67.88 kB / 378.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2011, allocations: 53.41 MB / 432 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01152/0.2126, allocations: 10.28 MB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006523/0.2191, allocations: 3.841 MB / 446.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.2197, allocations: 67.69 kB / 446.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.2231, allocations: 1.978 MB / 448.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.2259, allocations: 1.669 MB / 449.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.227, allocations: 0.6121 MB / 450.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003667/0.2307, allocations: 3.365 MB / 453.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.2329, allocations: 2.122 MB / 455.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.2343, allocations: 1.254 MB / 457.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.2364, allocations: 1.806 MB / 459 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.2367, allocations: 252 kB / 459.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.2383, allocations: 1.061 MB / 460.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.2397, allocations: 1.593 MB / 461.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.2413, allocations: 1.825 MB / 463.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005843/0.2471, allocations: 5.81 MB / 469.5 MB, free: 1.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2471, allocations: 4 kB / 469.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2471, allocations: 0 / 469.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.336e-05/0.2472, allocations: 0 / 469.5 MB, free: 1.016 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.006734/0.2539, allocations: 4.038 MB / 473.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.254, allocations: 8.031 kB / 473.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001002/0.2541, allocations: 85.16 kB / 473.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006891/0.2548, allocations: 0.6043 MB / 474.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006069/0.2608, allocations: 1.812 MB / 476 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00386/0.2647, allocations: 2.094 MB / 478.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.2649, allocations: 200.8 kB / 478.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004329/0.2653, allocations: 243.9 kB / 478.6 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.2773, allocations: 8.447 MB / 487 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.492e-05/0.2774, allocations: 39.64 kB / 487.1 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.2777, allocations: 123.9 kB / 487.2 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002721/0.2804, allocations: 1.695 MB / 488.9 MB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/0.2928, allocations: 7.118 MB / 496 MB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03887/0.3317, allocations: 33.97 MB / 0.5175 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006936/0.3386, allocations: 2.737 MB / 0.5202 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.3404, allocations: 1.364 MB / 0.5216 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005835/0.3463, allocations: 3.68 MB / 0.5251 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.3463, allocations: 47.16 kB / 0.5252 GB, free: 10.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.567e-06/0.3463, allocations: 0 / 0.5252 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.1872/0.5335, allocations: 11.52 MB / 0.5364 GB, free: 102.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.5335, allocations: 144.6 kB / 0.5366 GB, free: 102.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004342/0.5379, allocations: 3.724 MB / 0.5402 GB, free: 101.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.538, allocations: 45.64 kB / 0.5403 GB, free: 101.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.5391, allocations: 2.862 MB / 0.5431 GB, free: 99.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.5394, allocations: 0.5421 MB / 0.5436 GB, free: 99.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.5404, allocations: 1.082 MB / 0.5446 GB, free: 99.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.5405, allocations: 301.1 kB / 0.5449 GB, free: 98.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.5422, allocations: 1.701 MB / 0.5466 GB, free: 98.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.5448, allocations: 5.12 MB / 0.5516 GB, free: 93.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004634/0.5494, allocations: 7.414 MB / 0.5588 GB, free: 86.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.106e-05/0.5494, allocations: 36.19 kB / 0.5589 GB, free: 86.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.006892/0.5563, allocations: 6.714 MB / 0.5654 GB, free: 80.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.053e-05/0.5564, allocations: 60 kB / 0.5655 GB, free: 80.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-05/0.5565, allocations: 120 kB / 0.5656 GB, free: 80.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.5569, allocations: 324.6 kB / 0.5659 GB, free: 80.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/0.5598, allocations: 1.232 MB / 0.5671 GB, free: 79.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.5615, allocations: 2.397 MB / 0.5694 GB, free: 76.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.5642, allocations: 292.1 kB / 0.5697 GB, free: 76.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/0.5645, allocations: 339.3 kB / 0.5701 GB, free: 76.09 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.001603/0.5661, allocations: 1.785 MB / 0.5718 GB, free: 74.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.5664, allocations: 325.8 kB / 0.5721 GB, free: 73.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.57, allocations: 2.363 MB / 0.5744 GB, free: 71.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.57, allocations: 17.69 kB / 0.5744 GB, free: 71.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.57, allocations: 7.938 kB / 0.5744 GB, free: 71.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.57, allocations: 3.984 kB / 0.5744 GB, free: 71.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/0.5778, allocations: 5.888 MB / 0.5802 GB, free: 65.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.5778, allocations: 5.078 kB / 0.5802 GB, free: 65.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.5785, allocations: 171.8 kB / 0.5804 GB, free: 65.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.5803, allocations: 0.7186 MB / 0.5811 GB, free: 64.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/0.5803, allocations: 20 kB / 0.5811 GB, free: 64.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.5845, allocations: 4.711 MB / 0.5857 GB, free: 59.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5845, allocations: 8.062 kB / 0.5857 GB, free: 59.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/0.5894, allocations: 4.349 MB / 0.5899 GB, free: 55.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.5899, allocations: 297.7 kB / 0.5902 GB, free: 55.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/0.5902, allocations: 23.98 kB / 0.5902 GB, free: 55.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009502/0.5911, allocations: 59.92 kB / 0.5903 GB, free: 55.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.5913, allocations: 79.81 kB / 0.5904 GB, free: 55.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.5913, allocations: 36.06 kB / 0.5904 GB, free: 55.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002196/0.5935, allocations: 2.323 MB / 0.5927 GB, free: 52.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5935, allocations: 0 / 0.5927 GB, free: 52.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003026/0.5966, allocations: 0.7982 MB / 0.5935 GB, free: 51.97 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.005106/0.6017, allocations: 4.983 MB / 0.5983 GB, free: 46.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004119/0.6058, allocations: 3.895 MB / 0.6021 GB, free: 43.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6058, allocations: 0 / 0.6021 GB, free: 43.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.6068, allocations: 1.035 MB / 0.6031 GB, free: 42.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.6085, allocations: 402.4 kB / 0.6035 GB, free: 41.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03456/0.6431, allocations: 37.75 MB / 0.6404 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/0.6466, allocations: 2.788 MB / 0.6431 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003662/0.6502, allocations: 1.652 MB / 0.6447 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002377/0.6526, allocations: 1.518 MB / 0.6462 GB, free: 8.699 MB / 462.1 MB Notification: Performance of SimCode: time 1.363e-06/0.6526, allocations: 11.94 kB / 0.6462 GB, free: 8.688 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5421/1.195, allocations: 62.27 MB / 0.707 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.62/25.82, allocations: 8.062 kB / 0.707 GB, free: 10.74 MB / 0.5137 GB " [Timeout remaining time 634] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.09411969804205]