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.0019/0.0019, allocations: 105.9 kB / 17.16 MB, free: 6.082 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.002118/0.002118, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.328/1.328, allocations: 222.9 MB / 241.8 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009923/0.0009924, allocations: 47.8 kB / 300.6 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09624, allocations: 49.45 MB / 350.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003963/0.1002, allocations: 2.453 MB / 352.5 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1014, allocations: 0.5844 MB / 353.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.1017, allocations: 4 kB / 353.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.1019, allocations: 35.66 kB / 353.1 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.1022, allocations: 63.45 kB / 353.2 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1024, allocations: 51.97 kB / 353.2 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.1028, allocations: 286.7 kB / 353.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.103, allocations: 87.48 kB / 353.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1032, allocations: 107.6 kB / 353.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1034, allocations: 115.5 kB / 353.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.1034, allocations: 16 kB / 353.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-05/0.1035, allocations: 24 kB / 353.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.1035, allocations: 43.83 kB / 353.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.1037, allocations: 127.3 kB / 354 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1039, allocations: 219.7 kB / 354.2 MB, free: 416 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1039, allocations: 0 / 354.2 MB, free: 416 kB / 286.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1039, allocations: 0 / 354.2 MB, free: 416 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1039, allocations: 0 / 354.2 MB, free: 416 kB / 286.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.0008933/0.1048, allocations: 0.5382 MB / 354.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1049, allocations: 12.03 kB / 354.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.105, allocations: 32.55 kB / 354.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1052, allocations: 243.2 kB / 355.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1053, allocations: 20.94 kB / 355.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.1053, allocations: 28.12 kB / 355.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.1058, allocations: 224.9 kB / 355.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1059, allocations: 3.984 kB / 355.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1059, allocations: 12 kB / 355.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1059, allocations: 11.94 kB / 355.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.1063, allocations: 178.1 kB / 355.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.1076, allocations: 0.7539 MB / 356.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.1081, allocations: 222.4 kB / 356.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.1083, allocations: 116.8 kB / 356.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1084, allocations: 4 kB / 356.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1084, allocations: 38.5 kB / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.1084, allocations: 0 / 356.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001801/0.1102, allocations: 0.9629 MB / 357.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1102, allocations: 55.41 kB / 357.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1104, allocations: 150.7 kB / 357.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1104, allocations: 33.7 kB / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/0.1105, allocations: 144.6 kB / 358 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/0.1106, allocations: 102.5 kB / 358.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.1107, allocations: 53.7 kB / 358.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1108, allocations: 330.8 kB / 358.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.111, allocations: 71.95 kB / 358.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.1112, allocations: 115.2 kB / 358.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1116, allocations: 199.3 kB / 358.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1116, allocations: 0 / 358.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005068/0.1122, allocations: 265.8 kB / 359.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1122, allocations: 11.92 kB / 359.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1122, allocations: 0 / 359.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1122, allocations: 4 kB / 359.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.1125, allocations: 71.91 kB / 359.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1125, allocations: 4 kB / 359.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1127, allocations: 15.98 kB / 359.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1127, allocations: 8 kB / 359.2 MB, free: 11.08 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.0001485/0.1129, allocations: 154.1 kB / 359.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.1129, allocations: 15.81 kB / 359.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/0.113, allocations: 30.55 kB / 359.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.113, allocations: 4 kB / 359.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.113, allocations: 0 / 359.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.113, allocations: 0 / 359.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1141, allocations: 0.652 MB / 360.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1141, allocations: 0 / 360.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.1144, allocations: 79.89 kB / 360.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.1145, allocations: 4 kB / 360.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1145, allocations: 4 kB / 360.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.1145, allocations: 7.938 kB / 360.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1145, allocations: 7.875 kB / 360.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.1152, allocations: 442.8 kB / 360.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.1153, allocations: 96.91 kB / 360.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.1153, allocations: 4.062 kB / 360.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1155, allocations: 19.94 kB / 360.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.1155, allocations: 19.97 kB / 360.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1156, allocations: 4 kB / 360.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.1157, allocations: 123.5 kB / 360.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1157, allocations: 0 / 360.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000317/0.116, allocations: 56 kB / 360.9 MB, free: 9.27 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.0001252/0.1161, allocations: 109.2 kB / 361 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.1166, allocations: 199.8 kB / 361.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1166, allocations: 4 kB / 361.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.1168, allocations: 107.8 kB / 361.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.1173, allocations: 38.94 kB / 361.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1188, allocations: 0.9401 MB / 362.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1191, allocations: 0.7563 MB / 363.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.1192, allocations: 19.44 kB / 363.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1192, allocations: 7.938 kB / 363.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of Templates: time 0.005007/0.1242, allocations: 2.748 MB / 365.8 MB, free: 4.293 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 -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