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.00123/0.00123, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 8.977 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 60.38 kB / 306.9 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1067, allocations: 50.53 MB / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004447/0.1112, allocations: 2.481 MB / 359.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1126, allocations: 0.6194 MB / 360.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.1128, allocations: 4 kB / 360.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.113, allocations: 23.78 kB / 360.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1134, allocations: 71.44 kB / 360.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1136, allocations: 55.89 kB / 360.7 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.1139, allocations: 278.7 kB / 361 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.1142, allocations: 95.38 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1144, allocations: 103.6 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1146, allocations: 119.5 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.1146, allocations: 16 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.311e-05/0.1147, allocations: 16 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.1147, allocations: 51.78 kB / 361.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1149, allocations: 127.4 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1151, allocations: 215.7 kB / 361.7 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1151, allocations: 0 / 361.7 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1151, allocations: 3.938 kB / 361.7 MB, free: 10 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1151, allocations: 0 / 361.7 MB, free: 10 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.0009261/0.1161, allocations: 0.5421 MB / 362.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1161, allocations: 8.031 kB / 362.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.1162, allocations: 32.66 kB / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.1165, allocations: 240 kB / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1165, allocations: 16.94 kB / 362.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.1166, allocations: 40.09 kB / 362.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.1171, allocations: 224.8 kB / 362.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.1171, allocations: 7.906 kB / 362.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.1172, allocations: 8 kB / 362.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1172, allocations: 8 kB / 362.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.1176, allocations: 178.1 kB / 363 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.1188, allocations: 0.7539 MB / 363.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.1193, allocations: 218.5 kB / 363.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.1195, allocations: 113.9 kB / 364.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1196, allocations: 8 kB / 364.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1196, allocations: 34.55 kB / 364.1 MB, free: 7.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.774e-06/0.1196, allocations: 0 / 364.1 MB, free: 7.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001816/0.1214, allocations: 0.9611 MB / 365.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.1215, allocations: 59.28 kB / 365.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1217, allocations: 159.8 kB / 365.3 MB, free: 6.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1217, allocations: 29.7 kB / 365.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.1218, allocations: 140.6 kB / 365.4 MB, free: 5.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.1219, allocations: 98.56 kB / 365.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.122, allocations: 53.56 kB / 365.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1222, allocations: 334.8 kB / 365.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1224, allocations: 71.97 kB / 366 MB, free: 5.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.1226, allocations: 116.3 kB / 366.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.123, allocations: 199.3 kB / 366.3 MB, free: 5.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.123, allocations: 0 / 366.3 MB, free: 5.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005119/0.1235, allocations: 261.3 kB / 366.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1235, allocations: 8.094 kB / 366.6 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1235, allocations: 4 kB / 366.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1236, allocations: 4 kB / 366.6 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.1239, allocations: 71.91 kB / 366.6 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.1239, allocations: 7.984 kB / 366.6 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.124, allocations: 8 kB / 366.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1241, allocations: 8 kB / 366.7 MB, free: 4.691 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.0001339/0.1242, allocations: 145.7 kB / 366.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.1243, allocations: 23.8 kB / 366.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.1243, allocations: 30.5 kB / 366.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1243, allocations: 0 / 366.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1243, allocations: 0 / 366.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1244, allocations: 4 kB / 366.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.1254, allocations: 0.6559 MB / 367.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1254, allocations: 0 / 367.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.1258, allocations: 75.89 kB / 367.6 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1258, allocations: 0 / 367.6 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.1258, allocations: 12 kB / 367.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1258, allocations: 3.938 kB / 367.6 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1258, allocations: 4 kB / 367.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.1265, allocations: 446.3 kB / 368 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.1266, allocations: 92.91 kB / 368.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.1266, allocations: 8.062 kB / 368.1 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1268, allocations: 11.94 kB / 368.1 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.1268, allocations: 23.97 kB / 368.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1268, allocations: 8 kB / 368.2 MB, free: 3.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.341e-05/0.1269, allocations: 119.2 kB / 368.3 MB, free: 2.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1269, allocations: 0 / 368.3 MB, free: 2.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.1272, allocations: 56 kB / 368.4 MB, free: 2.883 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.0001265/0.1274, allocations: 111.1 kB / 368.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.1278, allocations: 208 kB / 368.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1278, allocations: 0 / 368.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.128, allocations: 112.9 kB / 368.8 MB, free: 2.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.1285, allocations: 35.97 kB / 368.8 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.1301, allocations: 0.9361 MB / 369.7 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1304, allocations: 0.7486 MB / 370.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.1305, allocations: 19.44 kB / 370.5 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1305, allocations: 4 kB / 370.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of Templates: time 0.1607/0.2911, allocations: 2.746 MB / 373.3 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 -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