Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001919/0.001918, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002145/0.002145, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.454/1.454, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.42 kB / 307.9 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004328/0.1195, allocations: 2.424 MB / 360.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1206, allocations: 0.6116 MB / 361.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1208, allocations: 4 kB / 361.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.1209, allocations: 35.59 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1211, allocations: 87.27 kB / 361.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1213, allocations: 55.92 kB / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.1217, allocations: 298.6 kB / 361.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.1219, allocations: 110.8 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.122, allocations: 107.6 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1222, allocations: 127.4 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.1223, allocations: 28 kB / 362.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.788e-05/0.1223, allocations: 24 kB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.1224, allocations: 51.83 kB / 362.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.1225, allocations: 139.3 kB / 362.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.1229, allocations: 287.2 kB / 362.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1229, allocations: 4 kB / 362.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1229, allocations: 0 / 362.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1229, allocations: 0 / 362.8 MB, free: 9.562 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.0008522/0.1238, allocations: 0.5343 MB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1238, allocations: 11.97 kB / 363.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.1239, allocations: 28.59 kB / 363.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1242, allocations: 244.4 kB / 363.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.1242, allocations: 16.94 kB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.1243, allocations: 36.12 kB / 363.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.1248, allocations: 224.9 kB / 363.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.1248, allocations: 7.906 kB / 363.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.1248, allocations: 15.94 kB / 363.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1248, allocations: 11.94 kB / 363.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.1253, allocations: 178.1 kB / 364.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1265, allocations: 0.7423 MB / 364.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.127, allocations: 232.8 kB / 365.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.1273, allocations: 112.8 kB / 365.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.1273, allocations: 0 / 365.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1273, allocations: 34.56 kB / 365.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.052e-06/0.1273, allocations: 0 / 365.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001828/0.1292, allocations: 0.9609 MB / 366.2 MB, free: 5.934 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1292, allocations: 55.41 kB / 366.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1294, allocations: 158.7 kB / 366.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.1294, allocations: 29.7 kB / 366.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1295, allocations: 148.6 kB / 366.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.1296, allocations: 102.5 kB / 366.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.1297, allocations: 49.56 kB / 366.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1299, allocations: 330.8 kB / 367 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1301, allocations: 75.95 kB / 367.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.1303, allocations: 116.1 kB / 367.2 MB, free: 4.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.1307, allocations: 203.3 kB / 367.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1307, allocations: 0 / 367.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000515/0.1313, allocations: 265.2 kB / 367.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1313, allocations: 4 kB / 367.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1313, allocations: 4 kB / 367.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1313, allocations: 0 / 367.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.1316, allocations: 75.89 kB / 367.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1316, allocations: 0 / 367.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1317, allocations: 15.98 kB / 367.8 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1318, allocations: 16.09 kB / 367.8 MB, free: 4.234 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.0001406/0.1319, allocations: 142.1 kB / 367.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.132, allocations: 19.81 kB / 367.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.132, allocations: 26.55 kB / 368 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1321, allocations: 4 kB / 368 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1321, allocations: 3.938 kB / 368 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1321, allocations: 3.938 kB / 368 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1331, allocations: 0.6598 MB / 368.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1331, allocations: 4 kB / 368.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.1335, allocations: 63.97 kB / 368.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1335, allocations: 0 / 368.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.1335, allocations: 11.98 kB / 368.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1335, allocations: 7.938 kB / 368.7 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1335, allocations: 4 kB / 368.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007336/0.1343, allocations: 438.6 kB / 369.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.1343, allocations: 89.05 kB / 369.2 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.1344, allocations: 20.05 kB / 369.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.1345, allocations: 11.94 kB / 369.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.1346, allocations: 19.97 kB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1346, allocations: 11.94 kB / 369.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.832e-05/0.1347, allocations: 119.5 kB / 369.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1347, allocations: 0 / 369.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.1351, allocations: 60 kB / 369.5 MB, free: 2.426 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.0001355/0.1352, allocations: 103.2 kB / 369.6 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005357/0.1357, allocations: 219.7 kB / 369.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1357, allocations: 0 / 369.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.136, allocations: 103.9 kB / 369.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.1365, allocations: 47.22 kB / 369.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.138, allocations: 0.8441 MB / 370.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.1384, allocations: 0.7522 MB / 371.5 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.1385, allocations: 23.44 kB / 371.6 MB, free: 276 kB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1385, allocations: 0 / 371.6 MB, free: 276 kB / 302.1 MB Notification: Performance of Templates: time 0.1664/0.3049, allocations: 2.755 MB / 374.3 MB, free: 19.34 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches