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.0007804/0.0007804, allocations: 97.25 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009192/0.0009192, allocations: 202.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002488, allocations: 8 kB / 308.4 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.1, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002934/0.103, allocations: 2.123 MB / 362 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1043, allocations: 0.6039 MB / 362.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.1045, allocations: 7.938 kB / 362.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.1047, allocations: 27.77 kB / 362.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.1049, allocations: 71.45 kB / 362.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1051, allocations: 47.97 kB / 362.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.1055, allocations: 282.6 kB / 363.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1057, allocations: 103.4 kB / 363.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.1059, allocations: 99.58 kB / 363.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1061, allocations: 111.5 kB / 363.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.1061, allocations: 12 kB / 363.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.174e-05/0.1062, allocations: 12 kB / 363.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.1062, allocations: 39.84 kB / 363.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1064, allocations: 153 kB / 363.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1066, allocations: 207.6 kB / 363.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1066, allocations: 0 / 363.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1066, allocations: 4 kB / 363.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.1066, allocations: 0 / 363.8 MB, free: 9.418 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.0007732/0.1074, allocations: 0.5031 MB / 364.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1075, allocations: 12.03 kB / 364.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.1075, allocations: 24.66 kB / 364.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1078, allocations: 236.5 kB / 364.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1079, allocations: 20.94 kB / 364.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.1079, allocations: 32.12 kB / 364.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.1084, allocations: 232.8 kB / 364.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.1085, allocations: 7.906 kB / 364.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.1085, allocations: 12 kB / 364.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1085, allocations: 8 kB / 364.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.109, allocations: 186.1 kB / 365 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.1103, allocations: 0.7695 MB / 365.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.1108, allocations: 224.8 kB / 366 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.111, allocations: 113.9 kB / 366.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1111, allocations: 0 / 366.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.1111, allocations: 46.55 kB / 366.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.216e-06/0.1111, allocations: 4 kB / 366.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001825/0.1129, allocations: 0.9923 MB / 367.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.113, allocations: 63.39 kB / 367.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1132, allocations: 155.8 kB / 367.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1132, allocations: 33.7 kB / 367.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.1133, allocations: 136.6 kB / 367.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/0.1134, allocations: 102.5 kB / 367.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.1135, allocations: 33.7 kB / 367.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1136, allocations: 334.8 kB / 368 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.1138, allocations: 79.83 kB / 368.1 MB, free: 4.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.114, allocations: 123.3 kB / 368.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.1144, allocations: 211.4 kB / 368.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1144, allocations: 0 / 368.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005211/0.115, allocations: 269.3 kB / 368.7 MB, free: 4.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.115, allocations: 8 kB / 368.7 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.115, allocations: 0 / 368.7 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.115, allocations: 4 kB / 368.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.1153, allocations: 75.91 kB / 368.8 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1154, allocations: 8.078 kB / 368.8 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1155, allocations: 12 kB / 368.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1155, allocations: 8 kB / 368.8 MB, free: 4.055 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.0001363/0.1157, allocations: 149.7 kB / 369 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.1157, allocations: 19.8 kB / 369 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.1158, allocations: 26.56 kB / 369 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1158, allocations: 4 kB / 369 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.1158, allocations: 4 kB / 369 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1158, allocations: 0 / 369 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1169, allocations: 0.656 MB / 369.7 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.1169, allocations: 4 kB / 369.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.1172, allocations: 75.89 kB / 369.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.1172, allocations: 4 kB / 369.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.1173, allocations: 4 kB / 369.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.1173, allocations: 7.938 kB / 369.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1173, allocations: 0 / 369.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.118, allocations: 466.4 kB / 370.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.1181, allocations: 96.91 kB / 370.3 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.1181, allocations: 4.062 kB / 370.3 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1183, allocations: 19.88 kB / 370.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.1183, allocations: 19.91 kB / 370.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1184, allocations: 12 kB / 370.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.484e-05/0.1185, allocations: 115.2 kB / 370.5 MB, free: 2.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1185, allocations: 4 kB / 370.5 MB, free: 2.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.1188, allocations: 60 kB / 370.5 MB, free: 2.215 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.0001358/0.1189, allocations: 107.1 kB / 370.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004529/0.1194, allocations: 220.1 kB / 370.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1194, allocations: 0 / 370.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.1196, allocations: 112.9 kB / 371 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.1201, allocations: 35.97 kB / 371 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.1216, allocations: 1.049 MB / 372 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1701/0.2918, allocations: 0.7481 MB / 372.8 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2919, allocations: 24.62 kB / 372.8 MB, free: 18.87 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.2919, allocations: 0 / 372.8 MB, free: 18.87 MB / 302.1 MB Notification: Performance of Templates: time 0.00735/0.2993, allocations: 2.719 MB / 375.5 MB, free: 18.75 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