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.0007419/0.0007419, allocations: 92.66 kB / 16.65 MB, free: 6.59 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.00089/0.0008901, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.307/1.307, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002876, allocations: 8.719 kB / 301.4 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 50.42 MB / 351.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002747/0.1221, allocations: 2.098 MB / 353.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009108/0.123, allocations: 0.5766 MB / 354.5 MB, free: 1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1232, allocations: 4 kB / 354.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.1233, allocations: 31.72 kB / 354.5 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.1235, allocations: 71.44 kB / 354.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.1237, allocations: 43.97 kB / 354.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.124, allocations: 286.7 kB / 354.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1242, allocations: 87.48 kB / 355 MB, free: 496 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1243, allocations: 99.52 kB / 355.1 MB, free: 396 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1245, allocations: 111.5 kB / 355.2 MB, free: 284 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.1245, allocations: 16 kB / 355.2 MB, free: 268 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.539e-05/0.1246, allocations: 16 kB / 355.3 MB, free: 252 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.1246, allocations: 35.84 kB / 355.3 MB, free: 216 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1247, allocations: 149 kB / 355.4 MB, free: 60 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1251, allocations: 279.2 kB / 355.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1251, allocations: 0 / 355.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1251, allocations: 0 / 355.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1251, allocations: 0 / 355.7 MB, free: 15.79 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.0008593/0.126, allocations: 0.507 MB / 356.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.126, allocations: 8.031 kB / 356.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.1261, allocations: 24.66 kB / 356.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1263, allocations: 247.6 kB / 356.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.1264, allocations: 20.94 kB / 356.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.1264, allocations: 28.12 kB / 356.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.1269, allocations: 232.9 kB / 356.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.127, allocations: 7.906 kB / 356.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.127, allocations: 8 kB / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.127, allocations: 8 kB / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.1274, allocations: 190.1 kB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.1286, allocations: 0.7732 MB / 357.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.1292, allocations: 222.5 kB / 358 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.1294, allocations: 120.8 kB / 358.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1294, allocations: 4 kB / 358.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1295, allocations: 30.56 kB / 358.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.694e-06/0.1295, allocations: 0 / 358.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001759/0.1312, allocations: 1.003 MB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1313, allocations: 55.41 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1314, allocations: 154.7 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1315, allocations: 33.7 kB / 359.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.1316, allocations: 136.6 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.1316, allocations: 106.5 kB / 359.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.1317, allocations: 29.7 kB / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1318, allocations: 334.8 kB / 359.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.132, allocations: 87.95 kB / 360 MB, free: 11.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1323, allocations: 111.2 kB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.1327, allocations: 215.3 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1327, allocations: 0 / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004974/0.1332, allocations: 277.3 kB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1332, allocations: 7.938 kB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1332, allocations: 0 / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1332, allocations: 4 kB / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1335, allocations: 75.89 kB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1335, allocations: 7.938 kB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1337, allocations: 20.08 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1337, allocations: 8 kB / 360.7 MB, free: 10.4 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.0001192/0.1338, allocations: 150 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.1339, allocations: 15.81 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.1339, allocations: 26.56 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1339, allocations: 4 kB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.134, allocations: 0 / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.134, allocations: 3.984 kB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.1349, allocations: 0.6638 MB / 361.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1349, allocations: 0 / 361.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.1352, allocations: 71.89 kB / 361.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1352, allocations: 4 kB / 361.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.1353, allocations: 8 kB / 361.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1353, allocations: 3.938 kB / 361.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1353, allocations: 0 / 361.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.136, allocations: 462.8 kB / 362.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1361, allocations: 96.92 kB / 362.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.1361, allocations: 4.062 kB / 362.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1363, allocations: 19.92 kB / 362.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.1363, allocations: 16.11 kB / 362.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1364, allocations: 15.98 kB / 362.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.031e-05/0.1364, allocations: 119.5 kB / 362.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.502e-06/0.1364, allocations: 0 / 362.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1367, allocations: 63.94 kB / 362.5 MB, free: 8.566 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.0001065/0.1369, allocations: 107.2 kB / 362.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004508/0.1373, allocations: 207.8 kB / 362.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1373, allocations: 4.188 kB / 362.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.1375, allocations: 111.8 kB / 362.9 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.138, allocations: 39.92 kB / 362.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1394, allocations: 1.023 MB / 364 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1397, allocations: 0.7525 MB / 364.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.504e-05/0.1398, allocations: 17.95 kB / 364.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.1399, allocations: 19.44 kB / 364.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1399, allocations: 0 / 364.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of Templates: time 0.004918/0.1448, allocations: 2.004 MB / 366.7 MB, free: 4.246 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/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