Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000972/0.000972, allocations: 78.66 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001035/0.001035, allocations: 170.1 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.958e-05, allocations: 6.25 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002636/0.002655, allocations: 2.434 MB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.003606, allocations: 0.5998 MB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.003747, allocations: 4 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.003878, allocations: 39.58 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.004042, allocations: 95.25 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.00419, allocations: 51.92 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.004474, allocations: 306.4 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.00463, allocations: 79.28 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000607/0.005237, allocations: 171.6 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.005358, allocations: 95.7 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.005394, allocations: 24 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-05/0.00543, allocations: 24 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.005473, allocations: 59.81 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.005558, allocations: 95.75 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.005786, allocations: 187.3 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005789, allocations: 3.984 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00579, allocations: 0 / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005793, allocations: 0 / 277.6 MB, free: 13.04 MB / 266.7 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.0005235/0.006317, allocations: 0.5664 MB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.00635, allocations: 12.03 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.006414, allocations: 56.75 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.006604, allocations: 184.8 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.006626, allocations: 24.97 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.006664, allocations: 32.31 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.006885, allocations: 167.4 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.006899, allocations: 3.938 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.006918, allocations: 12 kB / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.006925, allocations: 4 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.00704, allocations: 76.5 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.007778, allocations: 0.6092 MB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.008005, allocations: 143.1 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.008084, allocations: 66.88 kB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.008097, allocations: 7.938 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.008118, allocations: 33.39 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.212e-06/0.008119, allocations: 0 / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.000751/0.00887, allocations: 0.5865 MB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.008895, allocations: 55.41 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.008994, allocations: 200.3 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.009012, allocations: 33.7 kB / 280.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.00909, allocations: 195.4 kB / 280.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.009156, allocations: 111 kB / 280.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.009226, allocations: 55.34 kB / 280.8 MB, free: 9.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.009366, allocations: 0.5001 MB / 281.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.009414, allocations: 31.91 kB / 281.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-05/0.009501, allocations: 87.14 kB / 281.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.009649, allocations: 130.6 kB / 281.6 MB, free: 8.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.00965, allocations: 0 / 281.6 MB, free: 8.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002112/0.009861, allocations: 177.5 kB / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.009872, allocations: 7.938 kB / 281.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.009879, allocations: 4 kB / 281.8 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.009888, allocations: 0 / 281.8 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.01008, allocations: 71.91 kB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01008, allocations: 4 kB / 281.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.01016, allocations: 16.08 kB / 281.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.01017, allocations: 8 kB / 281.9 MB, free: 8.523 MB / 266.7 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 8.599e-05/0.01025, allocations: 168.5 kB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.0103, allocations: 31.84 kB / 282.1 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.01034, allocations: 29.95 kB / 282.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01034, allocations: 0 / 282.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01034, allocations: 3.984 kB / 282.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.01035, allocations: 4 kB / 282.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.01088, allocations: 0.5061 MB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01088, allocations: 0 / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.01109, allocations: 67.89 kB / 282.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01109, allocations: 4 kB / 282.7 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.0111, allocations: 8 kB / 282.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.0111, allocations: 0 / 282.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.01111, allocations: 4 kB / 282.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.01143, allocations: 386 kB / 283.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01144, allocations: 23.89 kB / 283.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.01146, allocations: 4.062 kB / 283.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-05/0.01155, allocations: 11.98 kB / 283.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.01159, allocations: 19.97 kB / 283.1 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01159, allocations: 4 kB / 283.1 MB, free: 7.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.01165, allocations: 147 kB / 283.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01165, allocations: 0 / 283.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.01193, allocations: 60 kB / 283.3 MB, free: 6.98 MB / 266.7 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 7.79e-05/0.012, allocations: 103.2 kB / 283.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.01218, allocations: 128.4 kB / 283.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01218, allocations: 3.938 kB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.01226, allocations: 75.56 kB / 283.6 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.01258, allocations: 47.91 kB / 283.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009992/0.01358, allocations: 0.6774 MB / 284.4 MB, free: 5.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.306e-05/0.01364, allocations: 84.66 kB / 284.4 MB, free: 5.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.219e-05/0.01371, allocations: 25.92 kB / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.01383, allocations: 106.2 kB / 284.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01383, allocations: 0 / 284.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of Templates: time 0.004468/0.0183, allocations: 2.319 MB / 286.9 MB, free: 3.383 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.600930252112448]