Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.000881, allocations: 98.27 kB / 16.94 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009239/0.000924, allocations: 175.6 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004592, allocations: 11.98 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002692/0.1104, allocations: 1.933 MB / 330.3 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1115, allocations: 0.6169 MB / 330.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.1117, allocations: 4 kB / 330.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.798e-05/0.1118, allocations: 23.78 kB / 330.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.112, allocations: 87.73 kB / 331 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1122, allocations: 47.95 kB / 331 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.1126, allocations: 203.6 kB / 331.2 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1128, allocations: 85.73 kB / 331.3 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1129, allocations: 91.64 kB / 331.4 MB, free: 1 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1131, allocations: 107.5 kB / 331.5 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.1131, allocations: 12 kB / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.1132, allocations: 12 kB / 331.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.1132, allocations: 39.84 kB / 331.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.1133, allocations: 77.52 kB / 331.6 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.1136, allocations: 219.6 kB / 331.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1136, allocations: 0 / 331.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1136, allocations: 0 / 331.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.1136, allocations: 0 / 331.9 MB, free: 0.5352 MB / 270.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.0008815/0.1145, allocations: 0.503 MB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1146, allocations: 8.031 kB / 332.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.1147, allocations: 31.62 kB / 332.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.115, allocations: 239.2 kB / 332.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.115, allocations: 20.5 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.1151, allocations: 28 kB / 332.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.1156, allocations: 232.8 kB / 332.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1156, allocations: 0 / 332.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.1156, allocations: 12 kB / 332.9 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1156, allocations: 4 kB / 332.9 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.116, allocations: 186.1 kB / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.1173, allocations: 0.7695 MB / 333.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.1178, allocations: 214.8 kB / 334.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1178, allocations: 7.953 kB / 334.1 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1179, allocations: 38.56 kB / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.1179, allocations: 0 / 334.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001822/0.1197, allocations: 0.9934 MB / 335.1 MB, free: 13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1198, allocations: 55.41 kB / 335.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1199, allocations: 155.8 kB / 335.3 MB, free: 12.78 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1199, allocations: 29.7 kB / 335.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.12, allocations: 140.6 kB / 335.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.1201, allocations: 98.55 kB / 335.6 MB, free: 12.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.1201, allocations: 4 kB / 335.6 MB, free: 12.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1203, allocations: 338.8 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.1205, allocations: 79.95 kB / 336 MB, free: 12.08 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.1207, allocations: 111.2 kB / 336.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.1209, allocations: 99.91 kB / 336.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1209, allocations: 0 / 336.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005041/0.1214, allocations: 281.1 kB / 336.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1214, allocations: 4 kB / 336.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1215, allocations: 4 kB / 336.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1215, allocations: 0 / 336.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1218, allocations: 75.89 kB / 336.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1218, allocations: 4 kB / 336.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.1219, allocations: 24.05 kB / 336.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1219, allocations: 8 kB / 336.6 MB, free: 11.46 MB / 286.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.0001327/0.1221, allocations: 133.8 kB / 336.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1221, allocations: 23.77 kB / 336.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.1222, allocations: 26.56 kB / 336.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1222, allocations: 0 / 336.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1222, allocations: 0 / 336.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1222, allocations: 7.984 kB / 336.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009478/0.1232, allocations: 0.6638 MB / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1232, allocations: 4.031 kB / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.1235, allocations: 79.83 kB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1235, allocations: 0 / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.1236, allocations: 8 kB / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1236, allocations: 0 / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1236, allocations: 8 kB / 337.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007111/0.1243, allocations: 492.9 kB / 338 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1244, allocations: 92.92 kB / 338.1 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.1244, allocations: 4.062 kB / 338.1 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1246, allocations: 15.98 kB / 338.1 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.1246, allocations: 19.94 kB / 338.2 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1247, allocations: 11.98 kB / 338.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.077e-05/0.1247, allocations: 115.2 kB / 338.3 MB, free: 9.656 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1247, allocations: 4 kB / 338.3 MB, free: 9.652 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.1251, allocations: 60 kB / 338.4 MB, free: 9.594 MB / 286.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.0001222/0.1252, allocations: 99.19 kB / 338.5 MB, free: 9.484 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004641/0.1257, allocations: 207.9 kB / 338.7 MB, free: 9.281 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1257, allocations: 0 / 338.7 MB, free: 9.281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.1259, allocations: 116.9 kB / 338.8 MB, free: 9.168 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1262, allocations: 31.64 kB / 338.8 MB, free: 9.141 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.1277, allocations: 1 MB / 339.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1281, allocations: 0.7563 MB / 340.6 MB, free: 7.328 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.954e-05/0.1282, allocations: 21.94 kB / 340.6 MB, free: 7.305 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.1283, allocations: 19.44 kB / 340.6 MB, free: 7.285 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1283, allocations: 0 / 340.6 MB, free: 7.285 MB / 286.1 MB Notification: Performance of Templates: time 0.005026/0.1333, allocations: 1.907 MB / 342.5 MB, free: 5.383 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches