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.0009097/0.0009097, allocations: 103.8 kB / 17.01 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 198.5 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002086/0.0002088, allocations: 12 kB / 307.1 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09193, allocations: 51.51 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002601/0.09457, allocations: 2.041 MB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.09581, allocations: 0.5885 MB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.09604, allocations: 7.938 kB / 361.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.09621, allocations: 27.78 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.09643, allocations: 71.45 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.09665, allocations: 43.94 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.09699, allocations: 274.7 kB / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.09721, allocations: 93.62 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.09739, allocations: 87.66 kB / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.09755, allocations: 103.5 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.0976, allocations: 16 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.043e-05/0.09765, allocations: 19.94 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.09769, allocations: 35.84 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.09776, allocations: 77.58 kB / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.09797, allocations: 207.6 kB / 362.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.09798, allocations: 0 / 362.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09799, allocations: 0 / 362.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.098, allocations: 0 / 362.3 MB, free: 9.734 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.0006872/0.09869, allocations: 0.5069 MB / 362.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.09874, allocations: 8.031 kB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.0988, allocations: 27.72 kB / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.09906, allocations: 242.5 kB / 363.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.09908, allocations: 16.56 kB / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.09914, allocations: 32 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.0996, allocations: 228.8 kB / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.09963, allocations: 7.906 kB / 363.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.09966, allocations: 12 kB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.09967, allocations: 4 kB / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.1001, allocations: 190.1 kB / 363.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.1013, allocations: 0.7656 MB / 364.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.1018, allocations: 222.7 kB / 364.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.102, allocations: 120.3 kB / 364.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.102, allocations: 0 / 364.7 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1021, allocations: 38.56 kB / 364.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.454e-06/0.1021, allocations: 4 kB / 364.7 MB, free: 7.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001777/0.1038, allocations: 0.9888 MB / 365.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1039, allocations: 55.41 kB / 365.7 MB, free: 6.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.104, allocations: 163.8 kB / 365.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1041, allocations: 29.7 kB / 365.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.1042, allocations: 140.6 kB / 366.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.1042, allocations: 102.5 kB / 366.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.1043, allocations: 8 kB / 366.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1044, allocations: 330.8 kB / 366.5 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1046, allocations: 83.81 kB / 366.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.1048, allocations: 119.4 kB / 366.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.105, allocations: 95.92 kB / 366.8 MB, free: 4.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.105, allocations: 0 / 366.8 MB, free: 4.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004602/0.1054, allocations: 261.4 kB / 367.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1055, allocations: 8.094 kB / 367.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1055, allocations: 4 kB / 367.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1055, allocations: 0 / 367.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.1058, allocations: 87.84 kB / 367.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1058, allocations: 0 / 367.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1059, allocations: 15.98 kB / 367.2 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.106, allocations: 8 kB / 367.2 MB, free: 4.543 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.1061, allocations: 141.8 kB / 367.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.1061, allocations: 19.81 kB / 367.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.1062, allocations: 26.55 kB / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1062, allocations: 0 / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1062, allocations: 7.953 kB / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1062, allocations: 0 / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/0.1072, allocations: 0.6638 MB / 368 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1072, allocations: 3.938 kB / 368 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.1075, allocations: 79.89 kB / 368.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.1075, allocations: 8.016 kB / 368.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1076, allocations: 8 kB / 368.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1076, allocations: 0 / 368.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1076, allocations: 4 kB / 368.1 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.1082, allocations: 458.3 kB / 368.6 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.1083, allocations: 92.92 kB / 368.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.1084, allocations: 8.016 kB / 368.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.1085, allocations: 23.92 kB / 368.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.1086, allocations: 15.97 kB / 368.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1086, allocations: 12 kB / 368.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.125e-05/0.1087, allocations: 115.2 kB / 368.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1087, allocations: 0 / 368.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.109, allocations: 60 kB / 368.9 MB, free: 2.707 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 (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.0001224/0.1091, allocations: 107.1 kB / 369 MB, free: 2.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.1096, allocations: 211.8 kB / 369.2 MB, free: 2.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1096, allocations: 4 kB / 369.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.1098, allocations: 113.2 kB / 369.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.1102, allocations: 31.98 kB / 369.4 MB, free: 2.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1117, allocations: 1 MB / 370.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.112, allocations: 0.7524 MB / 371.1 MB, free: 440 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.987e-05/0.1121, allocations: 25.94 kB / 371.1 MB, free: 412 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.1122, allocations: 23.38 kB / 371.2 MB, free: 388 kB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1122, allocations: 0 / 371.2 MB, free: 388 kB / 302.1 MB Notification: Performance of Templates: time 0.1667/0.2789, allocations: 1.895 MB / 373 MB, free: 18.66 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches