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/ModelicaServices trunk/package.mo", uses=false) 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) 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: 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/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 55.91 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1026, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00364/0.1063, allocations: 2.427 MB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.1073, allocations: 0.6155 MB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.1074, allocations: 7.938 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.1076, allocations: 39.58 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.1077, allocations: 79.31 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.1079, allocations: 67.86 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.1082, allocations: 290.6 kB / 362.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1084, allocations: 118.8 kB / 362.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1085, allocations: 111.6 kB / 362.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1087, allocations: 119.5 kB / 362.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.1087, allocations: 24 kB / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-05/0.1088, allocations: 24 kB / 362.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.1088, allocations: 59.83 kB / 362.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.109, allocations: 135.3 kB / 363 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1093, allocations: 291 kB / 363.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1093, allocations: 3.938 kB / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1093, allocations: 0 / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1093, allocations: 0 / 363.3 MB, free: 8.965 MB / 302.1 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.0007528/0.11, allocations: 0.5382 MB / 363.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1101, allocations: 12.03 kB / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.1101, allocations: 28.66 kB / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.1104, allocations: 244 kB / 364.1 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1105, allocations: 20.94 kB / 364.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.1105, allocations: 32.06 kB / 364.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1109, allocations: 224.9 kB / 364.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.111, allocations: 3.906 kB / 364.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.111, allocations: 12 kB / 364.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.111, allocations: 8 kB / 364.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.1114, allocations: 178.1 kB / 364.6 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1125, allocations: 0.7461 MB / 365.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.1129, allocations: 222.5 kB / 365.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1131, allocations: 109.9 kB / 365.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1131, allocations: 7.938 kB / 365.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1132, allocations: 34.56 kB / 365.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.1132, allocations: 0 / 365.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001594/0.1148, allocations: 0.9689 MB / 366.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1148, allocations: 59.34 kB / 366.7 MB, free: 5.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.115, allocations: 162.7 kB / 366.9 MB, free: 5.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.115, allocations: 29.7 kB / 366.9 MB, free: 5.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.1151, allocations: 136.6 kB / 367 MB, free: 4.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.1151, allocations: 98.55 kB / 367.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.1152, allocations: 57.56 kB / 367.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1153, allocations: 334.8 kB / 367.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1155, allocations: 71.95 kB / 367.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1157, allocations: 112.3 kB / 367.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.1161, allocations: 203.3 kB / 367.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1161, allocations: 8 kB / 367.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004581/0.1165, allocations: 257.3 kB / 368.1 MB, free: 3.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1166, allocations: 4 kB / 368.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1166, allocations: 0 / 368.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1166, allocations: 4 kB / 368.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.1169, allocations: 79.89 kB / 368.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1169, allocations: 0 / 368.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.117, allocations: 20.08 kB / 368.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.117, allocations: 11.98 kB / 368.2 MB, free: 3.641 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.1172, allocations: 145.7 kB / 368.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1172, allocations: 19.75 kB / 368.4 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.1173, allocations: 26.56 kB / 368.4 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1173, allocations: 4 kB / 368.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1173, allocations: 0 / 368.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1173, allocations: 3.984 kB / 368.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.1182, allocations: 0.6447 MB / 369.1 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1182, allocations: 0 / 369.1 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.1186, allocations: 75.89 kB / 369.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1186, allocations: 4 kB / 369.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1186, allocations: 4 kB / 369.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1186, allocations: 12 kB / 369.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1186, allocations: 0 / 369.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.1193, allocations: 447.4 kB / 369.6 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.1194, allocations: 92.92 kB / 369.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.1194, allocations: 8.062 kB / 369.7 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.1196, allocations: 15.92 kB / 369.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.1196, allocations: 15.98 kB / 369.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1196, allocations: 4 kB / 369.8 MB, free: 2.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.1197, allocations: 127.4 kB / 369.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1197, allocations: 0 / 369.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.12, allocations: 60 kB / 369.9 MB, free: 1.84 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.1202, allocations: 111.2 kB / 370 MB, free: 1.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.1206, allocations: 203.7 kB / 370.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1206, allocations: 4 kB / 370.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.1208, allocations: 101 kB / 370.3 MB, free: 1.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1213, allocations: 45.92 kB / 370.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.1225, allocations: 0.818 MB / 371.2 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1914/0.314, allocations: 0.7446 MB / 372 MB, free: 19.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.3142, allocations: 20.05 kB / 372 MB, free: 19.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.3143, allocations: 20.06 kB / 372 MB, free: 19.69 MB / 302.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3143, allocations: 0.8438 kB / 372 MB, free: 19.69 MB / 302.1 MB Notification: Performance of Templates: time 0.006947/0.3212, allocations: 2.153 MB / 374.1 MB, free: 19.65 MB / 302.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches