Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.001309/0.001309, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001435/0.001435, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.451/1.451, allocations: 230.5 MB / 258.2 MB, free: 7.762 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.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 55.91 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2539, allocations: 53.41 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01219/0.2661, allocations: 8.981 MB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007853/0.2739, allocations: 3.675 MB / 444.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.275, allocations: 59.75 kB / 444.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004019/0.279, allocations: 2.032 MB / 446.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.2827, allocations: 1.65 MB / 448.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.2843, allocations: 0.6979 MB / 449 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004568/0.2889, allocations: 3.396 MB / 452.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/0.2918, allocations: 2.225 MB / 454.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.2937, allocations: 1.269 MB / 455.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/0.2963, allocations: 1.9 MB / 457.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005186/0.2968, allocations: 260 kB / 458 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.2988, allocations: 1.01 MB / 459.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.3004, allocations: 1.601 MB / 460.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.3021, allocations: 1.374 MB / 462 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00697/0.3091, allocations: 5.937 MB / 468 MB, free: 2.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.3091, allocations: 8 kB / 468 MB, free: 2.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3091, allocations: 0 / 468 MB, free: 2.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.3093, allocations: 0 / 468 MB, free: 2.211 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.008215/0.3175, allocations: 4.145 MB / 472.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3175, allocations: 8.031 kB / 472.1 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001087/0.3176, allocations: 93.52 kB / 472.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008463/0.3185, allocations: 0.6413 MB / 472.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/0.3251, allocations: 1.89 MB / 474.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/0.3293, allocations: 2.056 MB / 476.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.3295, allocations: 209.2 kB / 477 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005699/0.3301, allocations: 263.9 kB / 477.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.3481, allocations: 10.06 MB / 487.3 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.849e-05/0.3482, allocations: 35.69 kB / 487.4 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/0.3486, allocations: 127.9 kB / 487.5 MB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003117/0.3517, allocations: 1.864 MB / 489.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0174/0.3691, allocations: 8.559 MB / 497.9 MB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/0.4161, allocations: 35.44 MB / 0.5209 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009776/0.4259, allocations: 3.091 MB / 0.5239 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002607/0.4285, allocations: 1.697 MB / 0.5255 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.44, allocations: 6.27 MB / 0.5316 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.4401, allocations: 47.56 kB / 0.5317 GB, free: 3.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.568e-06/0.4401, allocations: 0 / 0.5317 GB, free: 3.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.2444/0.6844, allocations: 17.57 MB / 0.5488 GB, free: 99.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.6845, allocations: 149.1 kB / 0.549 GB, free: 99.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.6882, allocations: 3.486 MB / 0.5524 GB, free: 97.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002717/0.6885, allocations: 45.7 kB / 0.5524 GB, free: 96.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.6897, allocations: 2.847 MB / 0.5552 GB, free: 94.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005121/0.6902, allocations: 0.6704 MB / 0.5559 GB, free: 93.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.6913, allocations: 1.116 MB / 0.557 GB, free: 92.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.6913, allocations: 305.1 kB / 0.5573 GB, free: 92.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.6936, allocations: 1.955 MB / 0.5592 GB, free: 90.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004292/0.6979, allocations: 5.381 MB / 0.5644 GB, free: 83.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007993/0.7059, allocations: 7.946 MB / 0.5722 GB, free: 73.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/0.706, allocations: 36 kB / 0.5722 GB, free: 73.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01393/0.7199, allocations: 8.175 MB / 0.5802 GB, free: 65.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/0.72, allocations: 56 kB / 0.5803 GB, free: 65.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-05/0.7201, allocations: 120 kB / 0.5804 GB, free: 65.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003598/0.7237, allocations: 1.296 MB / 0.5816 GB, free: 63.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/0.7273, allocations: 1.267 MB / 0.5829 GB, free: 62.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007172/0.7345, allocations: 6.389 MB / 0.5891 GB, free: 56.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004458/0.7389, allocations: 303.6 kB / 0.5894 GB, free: 55.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008226/0.7398, allocations: 344 kB / 0.5897 GB, free: 55.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (681): * Single equations (assignments): 677 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002302/0.7421, allocations: 1.811 MB / 0.5915 GB, free: 53.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/0.7426, allocations: 317.8 kB / 0.5918 GB, free: 53.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00606/0.7486, allocations: 3.377 MB / 0.5951 GB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.7486, allocations: 23.2 kB / 0.5951 GB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.7487, allocations: 4 kB / 0.5951 GB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.7487, allocations: 7.969 kB / 0.5951 GB, free: 50.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.7605, allocations: 7.257 MB / 0.6022 GB, free: 42.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.7605, allocations: 4 kB / 0.6022 GB, free: 42.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.7616, allocations: 243.7 kB / 0.6025 GB, free: 42.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003333/0.7649, allocations: 1.122 MB / 0.6035 GB, free: 41.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/0.7651, allocations: 24 kB / 0.6036 GB, free: 41.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006868/0.7719, allocations: 6.027 MB / 0.6095 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7719, allocations: 0 / 0.6095 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008742/0.7807, allocations: 5.749 MB / 0.6151 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.7817, allocations: 293.7 kB / 0.6153 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/0.7821, allocations: 28 kB / 0.6154 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.7834, allocations: 95.16 kB / 0.6155 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.7837, allocations: 92.81 kB / 0.6156 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.7838, allocations: 43.98 kB / 0.6156 GB, free: 28.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002653/0.7864, allocations: 2.15 MB / 0.6177 GB, free: 26.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7864, allocations: 0 / 0.6177 GB, free: 26.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004251/0.7907, allocations: 0.8905 MB / 0.6186 GB, free: 25.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008488/0.7992, allocations: 6.386 MB / 0.6248 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006656/0.8058, allocations: 4.619 MB / 0.6293 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8058, allocations: 0 / 0.6293 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.8077, allocations: 1.453 MB / 0.6307 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.8098, allocations: 361.7 kB / 0.6311 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06762/0.8774, allocations: 41.32 MB / 0.6714 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003397/0.8808, allocations: 2.308 MB / 0.6737 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004263/0.8851, allocations: 1.696 MB / 0.6753 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002505/0.8876, allocations: 1.585 MB / 0.6769 GB, free: 8.77 MB / 494.1 MB Notification: Performance of SimCode: time 1.443e-06/0.8876, allocations: 0 / 0.6769 GB, free: 8.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4647/1.352, allocations: 62.82 MB / 0.7382 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.15/21.5, allocations: 3.984 kB / 0.7382 GB, free: 182.3 MB / 0.5294 GB " [Timeout remaining time 638] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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: 25.841451557003893]