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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 202.7 kB / 8.537 MB, free: 1.66 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008817/0.0008818, allocations: 94.28 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.953e-06, allocations: 0 / 343.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.09994, allocations: 51.48 MB / 394.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2565/0.3565, allocations: 98.68 MB / 493.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.3568, allocations: 85.02 kB / 493.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2414/0.5982, allocations: 94.01 MB / 0.5736 GB, free: 1.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002252/0.5985, allocations: 88 kB / 0.5737 GB, free: 1.434 MB / 442.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.1516/0.7501, allocations: 4.679 MB / 0.5783 GB, free: 126.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.7502, allocations: 11.47 kB / 0.5783 GB, free: 126.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.7615, allocations: 2.26 MB / 0.5805 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.7725, allocations: 4.7 MB / 0.5851 GB, free: 125.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.7727, allocations: 154.4 kB / 0.5852 GB, free: 125.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.7741, allocations: 283.8 kB / 0.5855 GB, free: 125.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009655/0.7838, allocations: 7.165 MB / 0.5925 GB, free: 125.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.7973, allocations: 10.62 MB / 0.6029 GB, free: 122.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/0.7975, allocations: 62.16 kB / 0.6029 GB, free: 122.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000538/0.7981, allocations: 34.62 kB / 0.603 GB, free: 122.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00149/0.7996, allocations: 1.28 MB / 0.6042 GB, free: 122.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05117/0.8507, allocations: 53.46 MB / 0.6564 GB, free: 85.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.8538, allocations: 2.628 MB / 0.659 GB, free: 84.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.8559, allocations: 1.751 MB / 0.6607 GB, free: 83.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.8673, allocations: 6.676 MB / 0.6672 GB, free: 79.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.8673, allocations: 52.72 kB / 0.6673 GB, free: 79.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 6.201e-06/0.8674, allocations: 0 / 0.6673 GB, free: 79.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=195): time 0.02461/0.892, allocations: 11.97 MB / 0.679 GB, free: 74.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.8921, allocations: 149.9 kB / 0.6791 GB, free: 74.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/0.8964, allocations: 3.243 MB / 0.6823 GB, free: 73.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003663/0.8968, allocations: 25.7 kB / 0.6823 GB, free: 73.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.8982, allocations: 3.26 MB / 0.6855 GB, free: 70.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007172/0.8989, allocations: 0.7505 MB / 0.6862 GB, free: 70.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.8991, allocations: 0 / 0.6862 GB, free: 70.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.8994, allocations: 0.5951 MB / 0.6868 GB, free: 69.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.9018, allocations: 2.085 MB / 0.6888 GB, free: 69.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003799/0.9056, allocations: 6.288 MB / 0.695 GB, free: 62.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/0.91, allocations: 3.59 MB / 0.6985 GB, free: 61.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.912e-05/0.9101, allocations: 42.06 kB / 0.6985 GB, free: 61.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=900) (initialization): time 0.01526/0.9253, allocations: 8.067 MB / 0.7064 GB, free: 56.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9254, allocations: 7.312 kB / 0.7064 GB, free: 56.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004683/0.9301, allocations: 2.681 MB / 0.709 GB, free: 54.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/0.9333, allocations: 1.022 MB / 0.71 GB, free: 53.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005439/0.9388, allocations: 1.608 MB / 0.7116 GB, free: 52.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.9425, allocations: 4.164 MB / 0.7156 GB, free: 48.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/0.9485, allocations: 317.7 kB / 0.716 GB, free: 48.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/0.9497, allocations: 426.6 kB / 0.7164 GB, free: 47.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 688 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (862): * Single equations (assignments): 853 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.9507, allocations: 483.6 kB / 0.7168 GB, free: 47.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/0.9514, allocations: 343.5 kB / 0.7171 GB, free: 46.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/0.9567, allocations: 3.016 MB / 0.7201 GB, free: 44.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00448/0.9612, allocations: 2.526 MB / 0.7226 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/0.9612, allocations: 4 kB / 0.7226 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/0.9613, allocations: 8.672 kB / 0.7226 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/0.9784, allocations: 9.015 MB / 0.7314 GB, free: 35.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/0.9785, allocations: 12 kB / 0.7314 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.9801, allocations: 327.9 kB / 0.7317 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002779/0.9829, allocations: 0.9153 MB / 0.7326 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/0.9831, allocations: 38.22 kB / 0.7326 GB, free: 34.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/0.987, allocations: 4.392 MB / 0.7369 GB, free: 30.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006153/0.9877, allocations: 1.374 MB / 0.7383 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007629/0.9953, allocations: 6.82 MB / 0.7449 GB, free: 22.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.9965, allocations: 406.1 kB / 0.7453 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004807/0.997, allocations: 30.98 kB / 0.7453 GB, free: 21.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.9987, allocations: 106.9 kB / 0.7454 GB, free: 21.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.9989, allocations: 126.6 kB / 0.7456 GB, free: 21.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.9991, allocations: 70.98 kB / 0.7456 GB, free: 21.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.003143/1.002, allocations: 2.14 MB / 0.7477 GB, free: 19.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00578/1.008, allocations: 1.008 MB / 0.7487 GB, free: 18.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005255/1.009, allocations: 191.1 kB / 0.7489 GB, free: 18.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008983/1.018, allocations: 5.489 MB / 0.7542 GB, free: 13.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.018, allocations: 4 kB / 0.7542 GB, free: 13.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003322/1.021, allocations: 2.009 MB / 0.7562 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/1.023, allocations: 359.7 kB / 0.7566 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.039, allocations: 8.772 MB / 0.7651 GB, free: 3.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004165/1.043, allocations: 3.834 MB / 0.7689 GB, free: 400 kB / 442.7 MB Notification: Performance of SimCode: time 9.61e-07/1.043, allocations: 0 / 0.7689 GB, free: 400 kB / 442.7 MB Notification: Performance of Templates: time 0.2194/1.263, allocations: 37.5 MB / 0.8055 GB, free: 108.4 MB / 442.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/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