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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 109.6 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 51.92 kB / 347.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3253, allocations: 49.16 MB / 396.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003506/0.3288, allocations: 2.448 MB / 399.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3299, allocations: 0.6326 MB / 399.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.33, allocations: 3.719 kB / 399.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.3302, allocations: 41.41 kB / 400 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.3304, allocations: 80.94 kB / 400 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.3306, allocations: 56.28 kB / 400.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.3309, allocations: 303.2 kB / 400.4 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.3311, allocations: 80.92 kB / 400.5 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.3313, allocations: 117.7 kB / 400.6 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.3314, allocations: 122.6 kB / 400.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.3315, allocations: 28.03 kB / 400.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.3315, allocations: 23.06 kB / 400.8 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.3316, allocations: 56.3 kB / 400.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3317, allocations: 133.2 kB / 400.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.3321, allocations: 299.4 kB / 401.2 MB, free: 6.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3321, allocations: 0.7031 kB / 401.2 MB, free: 6.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3321, allocations: 0 / 401.2 MB, free: 6.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3321, allocations: 1.219 kB / 401.2 MB, free: 6.672 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.000738/0.3328, allocations: 489.1 kB / 401.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3329, allocations: 13.83 kB / 401.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.3329, allocations: 26.95 kB / 401.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3332, allocations: 177.4 kB / 401.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3332, allocations: 19.38 kB / 401.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.3332, allocations: 37.81 kB / 402 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.3337, allocations: 227.8 kB / 402.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.3337, allocations: 2.109 kB / 402.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.3337, allocations: 14.58 kB / 402.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3337, allocations: 6.062 kB / 402.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.3341, allocations: 176.5 kB / 402.4 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.3352, allocations: 0.6967 MB / 403.1 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.3357, allocations: 199.2 kB / 403.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.3359, allocations: 102.9 kB / 403.4 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3359, allocations: 6.438 kB / 403.4 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.3359, allocations: 44.97 kB / 403.4 MB, free: 5.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.3359, allocations: 0 / 403.4 MB, free: 5.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.00157/0.3375, allocations: 0.8114 MB / 404.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.3375, allocations: 54.88 kB / 404.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.3376, allocations: 157.7 kB / 404.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3377, allocations: 27.23 kB / 404.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.3377, allocations: 147.2 kB / 404.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.3378, allocations: 104.2 kB / 404.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.3379, allocations: 55.75 kB / 404.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.3379, allocations: 336.7 kB / 405.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.3381, allocations: 70.95 kB / 405.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3383, allocations: 123.1 kB / 405.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.3387, allocations: 202.3 kB / 405.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3387, allocations: 0 / 405.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000466/0.3391, allocations: 262.9 kB / 405.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3392, allocations: 6 kB / 405.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.3392, allocations: 6.625 kB / 405.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3392, allocations: 9.203 kB / 405.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.3395, allocations: 77.64 kB / 405.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3395, allocations: 3.062 kB / 405.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3396, allocations: 12.2 kB / 405.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.3396, allocations: 10.66 kB / 405.9 MB, free: 3.656 MB / 318.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 9.575e-05/0.3397, allocations: 140.1 kB / 406 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.3398, allocations: 21.53 kB / 406 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.3398, allocations: 28.45 kB / 406.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3398, allocations: 3.25 kB / 406.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.3399, allocations: 0.5625 kB / 406.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3399, allocations: 1.219 kB / 406.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.3408, allocations: 0.6256 MB / 406.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3408, allocations: 4.062 kB / 406.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.3411, allocations: 75.2 kB / 406.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3411, allocations: 3.031 kB / 406.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3411, allocations: 7.234 kB / 406.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3411, allocations: 5.062 kB / 406.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3411, allocations: 1.375 kB / 406.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.3418, allocations: 439 kB / 407.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.3418, allocations: 19.53 kB / 407.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.3419, allocations: 10.03 kB / 407.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.342, allocations: 15.88 kB / 407.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.3421, allocations: 20.06 kB / 407.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3421, allocations: 10.2 kB / 407.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.3422, allocations: 121 kB / 407.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3422, allocations: 0 / 407.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.3426, allocations: 58.88 kB / 407.5 MB, free: 2.656 MB / 318.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.0001446/0.3427, allocations: 102.7 kB / 407.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005405/0.3433, allocations: 186.2 kB / 407.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3433, allocations: 5.438 kB / 407.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.3435, allocations: 106.8 kB / 407.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.344, allocations: 44.2 kB / 407.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.3456, allocations: 0.8158 MB / 408.7 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.3458, allocations: 0.7511 MB / 409.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.858e-05/0.3459, allocations: 19.02 kB / 409.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.346, allocations: 20.78 kB / 409.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.346, allocations: 0 / 409.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of Templates: time 0.007001/0.353, allocations: 2.367 MB / 411.9 MB, free: 440 kB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.821587367914617]