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.001025/0.001025, allocations: 109.2 kB / 17.74 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.001026/0.001026, allocations: 188.3 kB / 18.68 MB, free: 4.406 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009654/0.0009654, allocations: 51.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2058, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003236/0.2091, allocations: 2.428 MB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.2099, allocations: 0.5726 MB / 404.4 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.21, allocations: 7.938 kB / 404.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.2102, allocations: 43.58 kB / 404.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.2103, allocations: 83.31 kB / 404.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.2105, allocations: 63.86 kB / 404.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.2108, allocations: 290.6 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.211, allocations: 107.5 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2111, allocations: 119.5 kB / 405.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2113, allocations: 123.5 kB / 405.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.2113, allocations: 24 kB / 405.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.2114, allocations: 24 kB / 405.3 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.2114, allocations: 51.84 kB / 405.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.2116, allocations: 135.3 kB / 405.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.2118, allocations: 300 kB / 405.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2118, allocations: 4 kB / 405.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2119, allocations: 0 / 405.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2119, allocations: 0 / 405.7 MB, free: 4.508 MB / 318.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.0007332/0.2126, allocations: 0.5382 MB / 406.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2126, allocations: 8.031 kB / 406.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.2127, allocations: 24.66 kB / 406.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.213, allocations: 242.1 kB / 406.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.213, allocations: 16.94 kB / 406.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.213, allocations: 36.03 kB / 406.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004403/0.2135, allocations: 224.9 kB / 406.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2135, allocations: 8 kB / 406.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.2135, allocations: 8 kB / 406.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2136, allocations: 11.98 kB / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.214, allocations: 170.1 kB / 407 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.2151, allocations: 0.7616 MB / 407.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.2155, allocations: 222.5 kB / 408 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.2158, allocations: 108.8 kB / 408.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2158, allocations: 0 / 408.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2158, allocations: 42.56 kB / 408.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.2158, allocations: 0 / 408.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001628/0.2174, allocations: 0.955 MB / 409.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.2175, allocations: 55.34 kB / 409.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2176, allocations: 158.7 kB / 409.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2176, allocations: 29.7 kB / 409.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.2177, allocations: 148.5 kB / 409.5 MB, free: 492 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.2178, allocations: 102.5 kB / 409.6 MB, free: 388 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.2179, allocations: 49.7 kB / 409.6 MB, free: 332 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.218, allocations: 330.8 kB / 410 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2182, allocations: 79.95 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2184, allocations: 119.1 kB / 410.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.2188, allocations: 207.3 kB / 410.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2188, allocations: 0 / 410.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004823/0.2193, allocations: 257.4 kB / 410.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2193, allocations: 11.94 kB / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2193, allocations: 0 / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2193, allocations: 4 kB / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.2196, allocations: 75.98 kB / 410.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2197, allocations: 4 kB / 410.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.2198, allocations: 11.98 kB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2198, allocations: 15.98 kB / 410.7 MB, free: 15.19 MB / 334.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.0001154/0.2199, allocations: 141.7 kB / 410.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.22, allocations: 23.72 kB / 410.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.22, allocations: 30.55 kB / 410.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2201, allocations: 4 kB / 410.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2201, allocations: 0 / 410.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.2201, allocations: 88.92 kB / 411 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.2202, allocations: 7.938 kB / 411 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.2203, allocations: 23.86 kB / 411 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.2204, allocations: 19.97 kB / 411.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007221/0.2211, allocations: 346.1 kB / 411.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007089/0.2218, allocations: 0.5033 MB / 411.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002003/0.222, allocations: 99.94 kB / 412 MB, free: 13.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.615e-05/0.2221, allocations: 127.5 kB / 412.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of Backend: time 2.51e-07/0.2221, allocations: 0 / 412.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005324/0.2227, allocations: 206.2 kB / 412.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of SimCode: time 0.001268/0.2239, allocations: 1.205 MB / 413.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of Templates: time 0.005298/0.2293, allocations: 2.62 MB / 416.1 MB, free: 9.68 MB / 334.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