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.001542/0.001542, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.00184/0.001841, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.414/1.414, allocations: 205.1 MB / 224.7 MB, free: 12.32 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.001328/0.001327, allocations: 48.34 kB / 280.8 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09876, allocations: 46.63 MB / 327.4 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004232/0.103, allocations: 2.461 MB / 329.9 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1044, allocations: 0.6126 MB / 330.5 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.1047, allocations: 4 kB / 330.5 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.1049, allocations: 27.78 kB / 330.5 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1052, allocations: 75.38 kB / 330.6 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1054, allocations: 51.95 kB / 330.7 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.1059, allocations: 294.7 kB / 331 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.1061, allocations: 106.9 kB / 331.1 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1064, allocations: 111.6 kB / 331.2 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1066, allocations: 127.5 kB / 331.3 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.1067, allocations: 24 kB / 331.3 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-05/0.1068, allocations: 27.94 kB / 331.3 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.1068, allocations: 51.78 kB / 331.4 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.107, allocations: 135.4 kB / 331.5 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.1073, allocations: 223.6 kB / 331.7 MB, free: 452 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1074, allocations: 0 / 331.7 MB, free: 452 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1074, allocations: 4 kB / 331.7 MB, free: 448 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1074, allocations: 0 / 331.7 MB, free: 448 kB / 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.001054/0.1084, allocations: 0.5382 MB / 332.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.1085, allocations: 12.03 kB / 332.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.1086, allocations: 28.56 kB / 332.3 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.1089, allocations: 236.5 kB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.109, allocations: 20.94 kB / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.109, allocations: 32.03 kB / 332.6 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.1096, allocations: 232.9 kB / 332.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.1096, allocations: 0 / 332.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1096, allocations: 12 kB / 332.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1097, allocations: 4 kB / 332.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.1101, allocations: 178.1 kB / 333 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1114, allocations: 0.7578 MB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.1119, allocations: 222.5 kB / 334 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.1121, allocations: 112.8 kB / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1121, allocations: 7.984 kB / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1122, allocations: 34.56 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/0.1122, allocations: 4 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001751/0.1139, allocations: 0.9573 MB / 335.1 MB, free: 12.81 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.114, allocations: 55.41 kB / 335.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1141, allocations: 159.1 kB / 335.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1142, allocations: 29.7 kB / 335.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.1143, allocations: 148.5 kB / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.1143, allocations: 90.56 kB / 335.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.1144, allocations: 53.7 kB / 335.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1146, allocations: 334.8 kB / 336 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.1148, allocations: 71.95 kB / 336 MB, free: 11.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.115, allocations: 115.2 kB / 336.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.1154, allocations: 203.3 kB / 336.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1154, allocations: 7.938 kB / 336.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004805/0.1159, allocations: 257.3 kB / 336.6 MB, free: 11.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1159, allocations: 4 kB / 336.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1159, allocations: 4 kB / 336.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1159, allocations: 0 / 336.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.1162, allocations: 83.83 kB / 336.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1162, allocations: 0 / 336.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1164, allocations: 20.08 kB / 336.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1164, allocations: 11.94 kB / 336.7 MB, free: 11.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.1166, allocations: 141.7 kB / 336.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.1166, allocations: 15.81 kB / 336.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.1167, allocations: 30.5 kB / 336.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1167, allocations: 4 kB / 336.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1167, allocations: 0 / 336.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1167, allocations: 3.984 kB / 336.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.1178, allocations: 0.6482 MB / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1178, allocations: 0 / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.1181, allocations: 75.89 kB / 337.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.1181, allocations: 4 kB / 337.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.1182, allocations: 12.06 kB / 337.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1182, allocations: 3.938 kB / 337.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1182, allocations: 0 / 337.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.1189, allocations: 448.1 kB / 338.1 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.119, allocations: 92.83 kB / 338.2 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.119, allocations: 12.19 kB / 338.2 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1192, allocations: 15.92 kB / 338.2 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.1192, allocations: 11.98 kB / 338.2 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1193, allocations: 12 kB / 338.2 MB, free: 9.496 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.852e-05/0.1194, allocations: 115.2 kB / 338.3 MB, free: 9.383 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1194, allocations: 0 / 338.3 MB, free: 9.383 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.1197, allocations: 60 kB / 338.4 MB, free: 9.324 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 (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.0001299/0.1198, allocations: 107.2 kB / 338.5 MB, free: 9.207 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.1204, allocations: 215.7 kB / 338.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1204, allocations: 0 / 338.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1206, allocations: 103.8 kB / 338.8 MB, free: 8.895 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.1211, allocations: 44.23 kB / 338.9 MB, free: 8.852 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.1226, allocations: 0.9494 MB / 339.8 MB, free: 7.863 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.123, allocations: 0.7522 MB / 340.6 MB, free: 7.086 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.1231, allocations: 23.44 kB / 340.6 MB, free: 7.062 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1231, allocations: 0 / 340.6 MB, free: 7.062 MB / 286.1 MB Notification: Performance of Templates: time 0.004626/0.1277, allocations: 2.773 MB / 343.4 MB, free: 4.289 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/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