Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.7 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009807/0.0009807, allocations: 114.6 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009784/0.0009786, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2127, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.03422/0.2469, allocations: 46.96 MB / 454 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01955/0.2665, allocations: 9.998 MB / 464 MB, free: 2.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008033/0.2746, allocations: 199.5 kB / 464.2 MB, free: 2.457 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005077/0.2798, allocations: 2.712 MB / 466.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.2843, allocations: 1.843 MB / 468.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.286, allocations: 0.7334 MB / 469.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006993/0.293, allocations: 6.641 MB / 476.1 MB, free: 6.504 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004593/0.2976, allocations: 3.527 MB / 479.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.3003, allocations: 1.522 MB / 481.2 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003681/0.304, allocations: 2.492 MB / 483.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.3051, allocations: 260 kB / 483.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.3078, allocations: 1.229 MB / 485.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00243/0.3102, allocations: 2.049 MB / 487.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00435/0.3146, allocations: 2.345 MB / 489.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007303/0.3219, allocations: 7.184 MB / 496.7 MB, free: 1.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.322, allocations: 0 / 496.7 MB, free: 1.801 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.322, allocations: 0 / 496.7 MB, free: 1.801 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.3221, allocations: 0 / 496.7 MB, free: 1.801 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.008566/0.3307, allocations: 5.274 MB / 0.4903 GB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3307, allocations: 8.031 kB / 0.4903 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00757/0.3383, allocations: 2.167 MB / 0.4924 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004911/0.3432, allocations: 2.442 MB / 0.4948 GB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.3435, allocations: 274.9 kB / 0.495 GB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008925/0.3444, allocations: 431.6 kB / 0.4954 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1838/0.5282, allocations: 12.21 MB / 0.5074 GB, free: 89.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.5284, allocations: 59.19 kB / 0.5074 GB, free: 89.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/0.5289, allocations: 170.1 kB / 0.5076 GB, free: 89.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00338/0.5323, allocations: 2.161 MB / 0.5097 GB, free: 89.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.5508, allocations: 10.21 MB / 0.5197 GB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04053/0.5914, allocations: 44.31 MB / 0.5629 GB, free: 38.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009998/0.6014, allocations: 4.61 MB / 0.5674 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.6035, allocations: 1.728 MB / 0.5691 GB, free: 31.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.6141, allocations: 8.238 MB / 0.5772 GB, free: 23.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.6142, allocations: 51.88 kB / 0.5772 GB, free: 23.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 4.588e-06/0.6142, allocations: 0 / 0.5772 GB, free: 23.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=205): time 0.03495/0.6491, allocations: 15.92 MB / 0.5928 GB, free: 7.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009627/0.6501, allocations: 1.606 MB / 0.5943 GB, free: 5.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/0.6546, allocations: 4.195 MB / 0.5984 GB, free: 1.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003611/0.655, allocations: 53.7 kB / 0.5985 GB, free: 1.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002017/0.657, allocations: 3.404 MB / 0.6018 GB, free: 13.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008108/0.6578, allocations: 0.81 MB / 0.6026 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/0.6594, allocations: 1.357 MB / 0.6039 GB, free: 11.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.6595, allocations: 301.1 kB / 0.6042 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/0.6628, allocations: 2.262 MB / 0.6064 GB, free: 8.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005669/0.6685, allocations: 6.398 MB / 0.6127 GB, free: 440 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009931/0.6784, allocations: 9.327 MB / 0.6218 GB, free: 5.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/0.6786, allocations: 40 kB / 0.6218 GB, free: 5.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02497/0.7036, allocations: 10.13 MB / 0.6317 GB, free: 10.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.7038, allocations: 68 kB / 0.6318 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01143/0.7152, allocations: 3.864 MB / 0.6355 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.7261, allocations: 2.258 MB / 0.6377 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005257/0.7314, allocations: 1.583 MB / 0.6393 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008683/0.7401, allocations: 6.098 MB / 0.6452 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005873/0.746, allocations: 431.4 kB / 0.6457 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/0.7474, allocations: 420 kB / 0.6461 GB, free: 11.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (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],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005482/0.7529, allocations: 2.214 MB / 0.6482 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/0.7541, allocations: 371.2 kB / 0.6486 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007811/0.762, allocations: 3.286 MB / 0.6518 GB, free: 5.949 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005373/0.7674, allocations: 2.742 MB / 0.6545 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.7674, allocations: 8.062 kB / 0.6545 GB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/0.7674, allocations: 11.97 kB / 0.6545 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/0.7883, allocations: 10.34 MB / 0.6646 GB, free: 8.531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/0.7884, allocations: 12 kB / 0.6646 GB, free: 8.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.7899, allocations: 368.2 kB / 0.6649 GB, free: 8.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003085/0.793, allocations: 0.9864 MB / 0.6659 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/0.7933, allocations: 63.98 kB / 0.666 GB, free: 7.098 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004998/0.7983, allocations: 4.591 MB / 0.6704 GB, free: 2.246 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009793/0.7993, allocations: 1.474 MB / 0.6719 GB, free: 0.625 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.244/1.043, allocations: 31.68 MB / 0.7028 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/1.044, allocations: 445.4 kB / 0.7032 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/1.044, allocations: 65.36 kB / 0.7033 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/1.046, allocations: 147.7 kB / 0.7034 GB, free: 139.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/1.046, allocations: 174.4 kB / 0.7036 GB, free: 139 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.046, allocations: 71.98 kB / 0.7037 GB, free: 138.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003144/1.05, allocations: 2.597 MB / 0.7062 GB, free: 136.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.05, allocations: 0 / 0.7062 GB, free: 136.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005457/1.055, allocations: 1.535 MB / 0.7077 GB, free: 134.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004805/1.056, allocations: 217.3 kB / 0.7079 GB, free: 134.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008929/1.064, allocations: 5.981 MB / 0.7138 GB, free: 128.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.065, allocations: 0 / 0.7138 GB, free: 128.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003516/1.068, allocations: 2.195 MB / 0.7159 GB, free: 126.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/1.071, allocations: 479.1 kB / 0.7164 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/1.092, allocations: 15.33 MB / 0.7313 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004639/1.096, allocations: 3.534 MB / 0.7348 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004895/1.101, allocations: 2.05 MB / 0.7368 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008431/1.102, allocations: 287.4 kB / 0.7371 GB, free: 104.5 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/1.102, allocations: 0 / 0.7371 GB, free: 104.5 MB / 458.7 MB Notification: Performance of Templates: time 0.06946/1.172, allocations: 50.21 MB / 0.7861 GB, free: 54.51 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches