Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001346/0.001346, 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.00147/0.00147, 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.368/1.368, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 55.91 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.211, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01226/0.2232, allocations: 10.77 MB / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007684/0.2309, allocations: 3.994 MB / 446.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.2321, allocations: 71.62 kB / 446.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004867/0.237, allocations: 2.62 MB / 449.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.2412, allocations: 1.782 MB / 451.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.2426, allocations: 0.6785 MB / 451.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005265/0.2479, allocations: 3.716 MB / 455.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/0.2511, allocations: 2.729 MB / 458.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.2532, allocations: 1.495 MB / 459.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003015/0.2563, allocations: 2.106 MB / 461.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000759/0.257, allocations: 316 kB / 462.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.2593, allocations: 1.186 MB / 463.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.2612, allocations: 1.854 MB / 465.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002563/0.2638, allocations: 2.128 MB / 467.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007814/0.2716, allocations: 6.677 MB / 474.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2716, allocations: 3.938 kB / 474.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2716, allocations: 0 / 474.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001747/0.2718, allocations: 0 / 474.1 MB, free: 12.36 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008868/0.2807, allocations: 4.596 MB / 478.7 MB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2807, allocations: 8.031 kB / 478.7 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001167/0.2808, allocations: 106.6 kB / 478.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001037/0.2819, allocations: 0.7314 MB / 479.5 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00701/0.2889, allocations: 1.967 MB / 481.5 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/0.2932, allocations: 2.159 MB / 483.7 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.2934, allocations: 246.2 kB / 483.9 MB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009817/0.2944, allocations: 399.7 kB / 484.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/0.312, allocations: 10.11 MB / 494.4 MB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.3121, allocations: 43.69 kB / 494.5 MB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004603/0.3126, allocations: 155.9 kB / 494.6 MB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/0.3154, allocations: 1.849 MB / 496.5 MB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/0.3323, allocations: 8.37 MB / 0.493 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0497/0.382, allocations: 39.17 MB / 0.5312 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.3924, allocations: 3.465 MB / 0.5346 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1834/0.5759, allocations: 1.329 MB / 0.5359 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008915/0.5848, allocations: 5.814 MB / 0.5416 GB, free: 99.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5848, allocations: 58.16 kB / 0.5417 GB, free: 99.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.577e-06/0.5848, allocations: 0 / 0.5417 GB, free: 99.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02851/0.6133, allocations: 12.32 MB / 0.5537 GB, free: 95.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008438/0.6142, allocations: 1.569 MB / 0.5552 GB, free: 93.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.6179, allocations: 3.824 MB / 0.559 GB, free: 89.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.6182, allocations: 45.7 kB / 0.559 GB, free: 89.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.6192, allocations: 3.238 MB / 0.5622 GB, free: 86.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/0.6197, allocations: 0.6847 MB / 0.5628 GB, free: 86.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.6207, allocations: 1.25 MB / 0.5641 GB, free: 84.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.6208, allocations: 317.1 kB / 0.5644 GB, free: 84.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.6229, allocations: 2.015 MB / 0.5663 GB, free: 82.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/0.626, allocations: 5.957 MB / 0.5721 GB, free: 74.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005863/0.6319, allocations: 8.597 MB / 0.5805 GB, free: 64.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.805e-05/0.6319, allocations: 40 kB / 0.5806 GB, free: 64.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01176/0.6437, allocations: 8.825 MB / 0.5892 GB, free: 55.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.855e-05/0.6438, allocations: 64.94 kB / 0.5893 GB, free: 55.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004889/0.6486, allocations: 2.82 MB / 0.592 GB, free: 52.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004173/0.6528, allocations: 1.565 MB / 0.5935 GB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.6557, allocations: 1.357 MB / 0.5949 GB, free: 49.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07689/0.7326, allocations: 9.33 MB / 0.604 GB, free: 39.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/0.7363, allocations: 395.5 kB / 0.6044 GB, free: 39.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003676/0.7367, allocations: 394.8 kB / 0.6047 GB, free: 38.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.00193/0.7386, allocations: 2.017 MB / 0.6067 GB, free: 36.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.739, allocations: 349.6 kB / 0.607 GB, free: 36.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.7396, allocations: 432.5 kB / 0.6074 GB, free: 36.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004855/0.7444, allocations: 2.714 MB / 0.6101 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.7445, allocations: 4.875 kB / 0.6101 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.7445, allocations: 7.969 kB / 0.6101 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.7564, allocations: 8.435 MB / 0.6183 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.7564, allocations: 4 kB / 0.6184 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.7572, allocations: 191.7 kB / 0.6185 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004149/0.7613, allocations: 1.455 MB / 0.62 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.7616, allocations: 36.09 kB / 0.62 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.7719, allocations: 9.523 MB / 0.6293 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007351/0.7727, allocations: 1.44 MB / 0.6307 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007838/0.7805, allocations: 5.36 MB / 0.6359 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/0.7812, allocations: 313.5 kB / 0.6362 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000329/0.7816, allocations: 35.94 kB / 0.6363 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.7828, allocations: 119.8 kB / 0.6364 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.7831, allocations: 112.8 kB / 0.6365 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.7832, allocations: 44.09 kB / 0.6365 GB, free: 5.758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002602/0.7858, allocations: 2.349 MB / 0.6388 GB, free: 3.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7858, allocations: 8 kB / 0.6388 GB, free: 3.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004225/0.7901, allocations: 1.042 MB / 0.6398 GB, free: 2.379 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00929/0.7993, allocations: 6.003 MB / 0.6457 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009894/0.8092, allocations: 5.396 MB / 0.651 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8092, allocations: 0 / 0.651 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004404/0.8136, allocations: 2.082 MB / 0.653 GB, free: 4.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.8158, allocations: 396.9 kB / 0.6534 GB, free: 4.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07315/0.889, allocations: 45.55 MB / 0.6979 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/0.8931, allocations: 3.131 MB / 0.7009 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004051/0.8972, allocations: 1.8 MB / 0.7027 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/0.8998, allocations: 1.765 MB / 0.7044 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of SimCode: time 8.11e-07/0.8998, allocations: 0 / 0.7044 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9947/1.894, allocations: 75.67 MB / 0.7783 GB, free: 180 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/25.03, allocations: 8.734 kB / 0.7783 GB, free: 180 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 28.94580688199494]