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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002455/0.002455, allocations: 196.7 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 225.6 MB / 234.8 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009107/0.0009109, allocations: 91.09 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.68e-05, allocations: 4 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4872, allocations: 78.83 MB / 474 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4875, allocations: 67.98 kB / 474.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0109/0.4984, allocations: 4.462 MB / 478.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4985, allocations: 0 / 478.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4985, allocations: 8 kB / 478.5 MB, free: 10.55 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.0005658/0.4991, allocations: 495.2 kB / 479 MB, free: 10.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4991, allocations: 12.03 kB / 479 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.4992, allocations: 27.62 kB / 479.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.4994, allocations: 236.7 kB / 479.3 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4994, allocations: 15.61 kB / 479.3 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.4995, allocations: 23 kB / 479.3 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002385/0.4997, allocations: 130.5 kB / 479.4 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.5, allocations: 169.1 kB / 479.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5, allocations: 3.875 kB / 479.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.5, allocations: 0 / 479.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5, allocations: 8 kB / 479.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009119/0.5009, allocations: 0.6992 MB / 480.3 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.5013, allocations: 185.5 kB / 480.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.5014, allocations: 95.12 kB / 480.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.5014, allocations: 0 / 480.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.5014, allocations: 45.55 kB / 480.6 MB, free: 8.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.193e-06/0.5014, allocations: 0 / 480.6 MB, free: 8.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008669/0.5023, allocations: 0.7618 MB / 481.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.5023, allocations: 59.39 kB / 481.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.5024, allocations: 128.2 kB / 481.6 MB, free: 7.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.5024, allocations: 25.7 kB / 481.6 MB, free: 7.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.5025, allocations: 138.2 kB / 481.7 MB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.5026, allocations: 96.81 kB / 481.8 MB, free: 7.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-06/0.5026, allocations: 0 / 481.8 MB, free: 7.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.5026, allocations: 334.1 kB / 482.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.5027, allocations: 54.38 kB / 482.2 MB, free: 7.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.5028, allocations: 95.05 kB / 482.3 MB, free: 7.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.517e-05/0.5029, allocations: 65.84 kB / 482.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5029, allocations: 0 / 482.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002491/0.5032, allocations: 214.8 kB / 482.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5032, allocations: 7.984 kB / 482.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5032, allocations: 3.953 kB / 482.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.5032, allocations: 4 kB / 482.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.5035, allocations: 75.22 kB / 482.7 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5035, allocations: 7.938 kB / 482.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.5036, allocations: 11.98 kB / 482.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.5037, allocations: 10.53 kB / 482.7 MB, free: 6.828 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.381e-05/0.5037, allocations: 109.4 kB / 482.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.5038, allocations: 15.81 kB / 482.8 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.5038, allocations: 24.02 kB / 482.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.5038, allocations: 7.953 kB / 482.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5038, allocations: 0 / 482.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5038, allocations: 0 / 482.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.5044, allocations: 0.5654 MB / 483.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5044, allocations: 0 / 483.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.5047, allocations: 74.67 kB / 483.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5047, allocations: 0 / 483.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5048, allocations: 11.92 kB / 483.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5048, allocations: 0 / 483.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5048, allocations: 8 kB / 483.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.5051, allocations: 401.7 kB / 483.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.5052, allocations: 92.91 kB / 484 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.5052, allocations: 7.984 kB / 484 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.5053, allocations: 15.19 kB / 484 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.5054, allocations: 15.97 kB / 484 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5054, allocations: 6.875 kB / 484 MB, free: 5.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.499e-05/0.5055, allocations: 108.3 kB / 484.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5055, allocations: 0 / 484.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.5057, allocations: 48 kB / 484.2 MB, free: 5.434 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 0.0001046/0.5059, allocations: 103.2 kB / 484.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.5061, allocations: 162.6 kB / 484.5 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5061, allocations: 0 / 484.5 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.606e-05/0.5062, allocations: 81.44 kB / 484.5 MB, free: 5.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.5065, allocations: 31.05 kB / 484.6 MB, free: 5.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.5074, allocations: 0.6792 MB / 485.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.5076, allocations: 0.7536 MB / 486 MB, free: 3.684 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.285e-05/0.5077, allocations: 26.06 kB / 486 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.5077, allocations: 19.44 kB / 486 MB, free: 3.641 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5077, allocations: 0 / 486 MB, free: 3.641 MB / 346.7 MB Notification: Performance of Templates: time 0.003739/0.5115, allocations: 1.803 MB / 487.8 MB, free: 1.898 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