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.001359/0.001359, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001452/0.001452, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.394/1.394, allocations: 230.2 MB / 254.5 MB, free: 15.24 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 63.91 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.0863, allocations: 53.32 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.1643/0.2506, allocations: 10.76 MB / 437.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005794/0.2564, allocations: 3.954 MB / 441.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.2575, allocations: 61.94 kB / 441.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.2615, allocations: 2.61 MB / 444.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004273/0.2658, allocations: 1.77 MB / 445.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.2674, allocations: 0.6857 MB / 446.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.2724, allocations: 3.719 MB / 450.2 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003938/0.2764, allocations: 2.969 MB / 453.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.2791, allocations: 1.468 MB / 454.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.2834, allocations: 2.106 MB / 456.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.2849, allocations: 314.8 kB / 457.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.2884, allocations: 1.183 MB / 458.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002829/0.2912, allocations: 1.852 MB / 460.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002904/0.2941, allocations: 2.125 MB / 462.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007466/0.3016, allocations: 6.673 MB / 468.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3016, allocations: 4 kB / 468.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3016, allocations: 5.531 kB / 468.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.311e-05/0.3017, allocations: 0 / 468.9 MB, free: 5.191 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.007724/0.3094, allocations: 4.667 MB / 473.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3095, allocations: 8.375 kB / 473.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009279/0.3104, allocations: 0.7232 MB / 474.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006707/0.3171, allocations: 1.979 MB / 476.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005307/0.3224, allocations: 2.228 MB / 478.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.3226, allocations: 250.2 kB / 478.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009432/0.3235, allocations: 387.7 kB / 479.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.3425, allocations: 10.11 MB / 489.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.664e-05/0.3426, allocations: 39.62 kB / 489.3 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003984/0.343, allocations: 155.8 kB / 489.5 MB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002648/0.3457, allocations: 1.864 MB / 491.3 MB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.363, allocations: 8.357 MB / 499.7 MB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05103/0.414, allocations: 39.27 MB / 0.5263 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.4243, allocations: 3.907 MB / 0.5301 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.4264, allocations: 1.334 MB / 0.5314 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.4383, allocations: 7.699 MB / 0.539 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.4383, allocations: 47.56 kB / 0.539 GB, free: 1.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.537e-06/0.4383, allocations: 4 kB / 0.539 GB, free: 1.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.0334/0.4717, allocations: 12.7 MB / 0.5514 GB, free: 4.215 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001427/0.4732, allocations: 1.686 MB / 0.5531 GB, free: 2.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00533/0.4785, allocations: 3.825 MB / 0.5568 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.4787, allocations: 49.64 kB / 0.5568 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.4811, allocations: 3.238 MB / 0.56 GB, free: 11.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007609/0.4818, allocations: 0.6824 MB / 0.5607 GB, free: 10.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001559/0.4834, allocations: 1.258 MB / 0.5619 GB, free: 9.258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4835, allocations: 301.1 kB / 0.5622 GB, free: 8.961 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/0.4867, allocations: 2.023 MB / 0.5642 GB, free: 6.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006729/0.4934, allocations: 5.953 MB / 0.57 GB, free: 15.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/0.5054, allocations: 8.593 MB / 0.5784 GB, free: 4.457 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/0.5055, allocations: 40 kB / 0.5784 GB, free: 4.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0192/0.5247, allocations: 8.818 MB / 0.587 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.5248, allocations: 64.19 kB / 0.5871 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006572/0.5314, allocations: 2.824 MB / 0.5898 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004988/0.5364, allocations: 1.56 MB / 0.5914 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/0.5405, allocations: 1.365 MB / 0.5927 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.5539, allocations: 9.637 MB / 0.6021 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004545/0.5584, allocations: 391.5 kB / 0.6025 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009622/0.5594, allocations: 392 kB / 0.6028 GB, free: 10.91 MB / 0.5137 GB 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.00416/0.5636, allocations: 2.009 MB / 0.6048 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/0.5642, allocations: 345.7 kB / 0.6051 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.5653, allocations: 440.4 kB / 0.6056 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006356/0.5716, allocations: 2.71 MB / 0.6082 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.5716, allocations: 4 kB / 0.6082 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.5717, allocations: 11.97 kB / 0.6082 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2126/0.7843, allocations: 8.575 MB / 0.6166 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.7843, allocations: 1.344 kB / 0.6166 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008315/0.7851, allocations: 192.8 kB / 0.6168 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004211/0.7893, allocations: 1.454 MB / 0.6182 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.7895, allocations: 37.91 kB / 0.6182 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.8002, allocations: 9.817 MB / 0.6278 GB, free: 155 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006832/0.8009, allocations: 1.55 MB / 0.6293 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00796/0.8088, allocations: 5.359 MB / 0.6346 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000762/0.8096, allocations: 382.7 kB / 0.6349 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/0.8099, allocations: 33.7 kB / 0.635 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.811, allocations: 126.2 kB / 0.6351 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.8113, allocations: 113 kB / 0.6352 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.8114, allocations: 51.47 kB / 0.6352 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002788/0.8142, allocations: 2.343 MB / 0.6375 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.8142, allocations: 0 / 0.6375 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004087/0.8183, allocations: 1.051 MB / 0.6386 GB, free: 150.6 MB / 0.5137 GB 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.007531/0.8258, allocations: 6.008 MB / 0.6444 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006913/0.8327, allocations: 5.545 MB / 0.6498 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8327, allocations: 3.656 kB / 0.6498 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003118/0.8359, allocations: 2.239 MB / 0.652 GB, free: 145.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.8377, allocations: 401.1 kB / 0.6524 GB, free: 145 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04173/0.8795, allocations: 45.46 MB / 0.6968 GB, free: 97.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002284/0.8818, allocations: 3.129 MB / 0.6999 GB, free: 94.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002904/0.8847, allocations: 1.803 MB / 0.7016 GB, free: 92.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/0.8861, allocations: 1.765 MB / 0.7033 GB, free: 90.88 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.8861, allocations: 3.938 kB / 0.7033 GB, free: 90.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.524/1.41, allocations: 70.34 MB / 0.772 GB, free: 20.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.7/25.11, allocations: 64 / 0.772 GB, free: 20.94 MB / 0.5137 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 29.11087287357077]