Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [: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.001171/0.001171, allocations: 199.6 kB / 8.536 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 225.5 MB / 234.4 MB, free: 3.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008649/0.0008649, allocations: 89 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.862e-06/6.873e-06, allocations: 0 / 343.1 MB, free: 8.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09774, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2589/0.3567, allocations: 78.76 MB / 473.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.3569, allocations: 70.8 kB / 473.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01025/0.3672, allocations: 4.171 MB / 477.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3672, allocations: 4.75 kB / 477.6 MB, free: 10.8 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005189/0.3678, allocations: 0.4887 MB / 478.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.3678, allocations: 12.03 kB / 478.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.3679, allocations: 27.62 kB / 478.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.3681, allocations: 230.4 kB / 478.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3681, allocations: 8.609 kB / 478.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.3681, allocations: 19.91 kB / 478.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002413/0.3684, allocations: 130.8 kB / 478.5 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.3686, allocations: 176.3 kB / 478.7 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.3687, allocations: 0.7031 kB / 478.7 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.3687, allocations: 0 / 478.7 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3687, allocations: 12.66 kB / 478.7 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.3697, allocations: 0.6985 MB / 479.4 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.3699, allocations: 116.5 kB / 479.5 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.37, allocations: 89.42 kB / 479.6 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3701, allocations: 8 kB / 479.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.212e-05/0.3701, allocations: 37.94 kB / 479.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 2.504e-06/0.3701, allocations: 0 / 479.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.000929/0.371, allocations: 0.769 MB / 480.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.371, allocations: 55.41 kB / 480.5 MB, free: 8.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.3711, allocations: 128.9 kB / 480.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3711, allocations: 25.7 kB / 480.6 MB, free: 8.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.3712, allocations: 137 kB / 480.8 MB, free: 8.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.3712, allocations: 98.62 kB / 480.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.3713, allocations: 0 / 480.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.3713, allocations: 325.6 kB / 481.2 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.3714, allocations: 55.75 kB / 481.2 MB, free: 7.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3715, allocations: 89.55 kB / 481.3 MB, free: 7.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.3716, allocations: 68.97 kB / 481.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3716, allocations: 0 / 481.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002611/0.3719, allocations: 213.2 kB / 481.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3719, allocations: 4 kB / 481.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3719, allocations: 0 / 481.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3719, allocations: 4 kB / 481.6 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.3723, allocations: 83.98 kB / 481.7 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3723, allocations: 7.938 kB / 481.7 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3724, allocations: 11.98 kB / 481.7 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3724, allocations: 11.56 kB / 481.7 MB, free: 7.168 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.3725, allocations: 108.9 kB / 481.8 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.3725, allocations: 19.72 kB / 481.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.3726, allocations: 24.42 kB / 481.9 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3726, allocations: 4 kB / 481.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3726, allocations: 0.9375 kB / 481.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3726, allocations: 0 / 481.9 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.3732, allocations: 0.565 MB / 482.4 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3732, allocations: 7.906 kB / 482.4 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.3736, allocations: 74.33 kB / 482.5 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3736, allocations: 7.828 kB / 482.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3736, allocations: 2.938 kB / 482.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3736, allocations: 5.062 kB / 482.5 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3736, allocations: 4.062 kB / 482.5 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003594/0.374, allocations: 399.9 kB / 482.9 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.374, allocations: 96.91 kB / 483 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3741, allocations: 0 / 483 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.3742, allocations: 19.89 kB / 483 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3743, allocations: 19.3 kB / 483.1 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3743, allocations: 5.188 kB / 483.1 MB, free: 5.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.187e-05/0.3744, allocations: 105 kB / 483.2 MB, free: 5.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.3747, allocations: 48 kB / 483.2 MB, free: 5.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.806e-05/0.3748, allocations: 103.2 kB / 483.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002428/0.375, allocations: 160.5 kB / 483.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.375, allocations: 0 / 483.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3751, allocations: 87 kB / 483.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3754, allocations: 29.22 kB / 483.6 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.3764, allocations: 0.6629 MB / 484.2 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.3767, allocations: 0.7749 MB / 485 MB, free: 4.023 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3767, allocations: 4 kB / 485 MB, free: 4.02 MB / 346.7 MB Notification: Performance of Templates: time 0.004451/0.3811, allocations: 2.134 MB / 487.2 MB, free: 1.953 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches