Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.001285/0.001285, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001205/0.001205, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009609/0.0009612, allocations: 51.08 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1021, allocations: 49.44 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003762/0.1059, allocations: 2.419 MB / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1069, allocations: 0.5765 MB / 354.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1071, allocations: 4 kB / 354.5 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1072, allocations: 35.59 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.1074, allocations: 83.27 kB / 354.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1077, allocations: 59.92 kB / 354.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.108, allocations: 302.6 kB / 355 MB, free: 228 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.1082, allocations: 107.5 kB / 355.1 MB, free: 120 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1084, allocations: 111.6 kB / 355.2 MB, free: 8 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.1085, allocations: 123.5 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.1086, allocations: 28 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.223e-05/0.1086, allocations: 24 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.1087, allocations: 51.83 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.1088, allocations: 139.3 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.1091, allocations: 287 kB / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1091, allocations: 7.938 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1092, allocations: 0 / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1092, allocations: 0 / 355.8 MB, free: 15.36 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.0008851/0.1101, allocations: 0.5343 MB / 356.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.1101, allocations: 8.031 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.1102, allocations: 32.56 kB / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.1107, allocations: 244.4 kB / 356.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1107, allocations: 20.94 kB / 356.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.1108, allocations: 32.12 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.1113, allocations: 224.9 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.1114, allocations: 4 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.1114, allocations: 12 kB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.1114, allocations: 4 kB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.1119, allocations: 182.1 kB / 357.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1132, allocations: 0.746 MB / 357.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.1137, allocations: 225.5 kB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.1139, allocations: 118.6 kB / 358.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1139, allocations: 4 kB / 358.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.114, allocations: 38.56 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.114, allocations: 0 / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001632/0.1156, allocations: 0.9577 MB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1157, allocations: 59.41 kB / 359.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1158, allocations: 162.9 kB / 359.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1158, allocations: 29.7 kB / 359.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.1159, allocations: 144.6 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.116, allocations: 98.55 kB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.1161, allocations: 45.72 kB / 359.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1162, allocations: 334.8 kB / 360 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1164, allocations: 79.95 kB / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.1166, allocations: 111.2 kB / 360.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1169, allocations: 207.3 kB / 360.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.117, allocations: 0 / 360.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004334/0.1174, allocations: 261.2 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1174, allocations: 4 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1174, allocations: 4 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1175, allocations: 0 / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.1177, allocations: 79.98 kB / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1177, allocations: 0 / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1179, allocations: 15.98 kB / 360.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.1179, allocations: 12 kB / 360.8 MB, free: 10.04 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.0001145/0.118, allocations: 146 kB / 360.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.1181, allocations: 15.81 kB / 360.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.1181, allocations: 30.55 kB / 361 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1181, allocations: 4 kB / 361 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1182, allocations: 8 kB / 361 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1182, allocations: 0 / 361 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008826/0.119, allocations: 0.6486 MB / 361.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1191, allocations: 0 / 361.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.1194, allocations: 71.89 kB / 361.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1194, allocations: 8.062 kB / 361.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1194, allocations: 7.938 kB / 361.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1194, allocations: 7.938 kB / 361.7 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1194, allocations: 0 / 361.7 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006489/0.1201, allocations: 450.2 kB / 362.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.1202, allocations: 88.92 kB / 362.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1202, allocations: 8.062 kB / 362.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1203, allocations: 15.92 kB / 362.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.1204, allocations: 19.97 kB / 362.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1204, allocations: 8 kB / 362.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.074e-05/0.1205, allocations: 120.4 kB / 362.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1205, allocations: 0 / 362.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1208, allocations: 64 kB / 362.5 MB, free: 8.234 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.0001336/0.1209, allocations: 103.7 kB / 362.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.1214, allocations: 204 kB / 362.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1214, allocations: 0 / 362.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1216, allocations: 108.1 kB / 362.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.122, allocations: 50.7 kB / 362.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1233, allocations: 0.8113 MB / 363.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1236, allocations: 0.756 MB / 364.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.789e-05/0.1237, allocations: 25.92 kB / 364.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.1237, allocations: 19.44 kB / 364.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1237, allocations: 0 / 364.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of Templates: time 0.00532/0.1291, allocations: 2.159 MB / 366.7 MB, free: 3.953 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches