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.001375/0.001375, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001214/0.001214, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 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 0.9689/0.9689, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 251.1 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.193e-05, allocations: 2.312 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002427/0.002439, allocations: 2.455 MB / 253.5 MB, free: 5.352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008593/0.003299, allocations: 0.6125 MB / 254.2 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.003406, allocations: 7.938 kB / 254.2 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.00353, allocations: 43.58 kB / 254.2 MB, free: 4.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.003657, allocations: 87.27 kB / 254.3 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.003784, allocations: 51.92 kB / 254.3 MB, free: 4.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.004004, allocations: 306.4 kB / 254.6 MB, free: 4.242 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.004141, allocations: 71.36 kB / 254.7 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.00429, allocations: 179.6 kB / 254.9 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.685e-05/0.004387, allocations: 91.7 kB / 255 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.004419, allocations: 24 kB / 255 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.454e-05/0.004444, allocations: 24 kB / 255 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.004481, allocations: 59.8 kB / 255.1 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.004555, allocations: 95.77 kB / 255.2 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.004756, allocations: 195.2 kB / 255.4 MB, free: 3.516 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004758, allocations: 0 / 255.4 MB, free: 3.516 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004759, allocations: 0 / 255.4 MB, free: 3.516 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004762, allocations: 0 / 255.4 MB, free: 3.516 MB / 234.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.0005222/0.005284, allocations: 0.5703 MB / 255.9 MB, free: 2.906 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.00532, allocations: 15.98 kB / 256 MB, free: 2.891 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.005383, allocations: 44.8 kB / 256 MB, free: 2.848 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.005577, allocations: 188.8 kB / 256.2 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.005597, allocations: 21.02 kB / 256.2 MB, free: 2.617 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.005635, allocations: 32.33 kB / 256.2 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.005894, allocations: 191.3 kB / 256.4 MB, free: 2.391 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.00591, allocations: 3.938 kB / 256.4 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.005928, allocations: 12 kB / 256.4 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.005938, allocations: 4 kB / 256.4 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.006075, allocations: 95.86 kB / 256.5 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.00675, allocations: 0.6283 MB / 257.2 MB, free: 1.609 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.007029, allocations: 166.7 kB / 257.3 MB, free: 1.438 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.00711, allocations: 63.66 kB / 257.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.00712, allocations: 4 kB / 257.4 MB, free: 1.367 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.007141, allocations: 37.39 kB / 257.4 MB, free: 1.32 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 1.362e-06/0.007142, allocations: 0 / 257.4 MB, free: 1.32 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007859/0.007928, allocations: 0.6649 MB / 258.1 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.007959, allocations: 59.41 kB / 258.2 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.008052, allocations: 197.9 kB / 258.3 MB, free: 324 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.008067, allocations: 33.7 kB / 258.4 MB, free: 284 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.008136, allocations: 199.4 kB / 258.6 MB, free: 80 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.0082, allocations: 107.3 kB / 258.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.008254, allocations: 55.36 kB / 258.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.008371, allocations: 0.4962 MB / 259.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.008428, allocations: 35.97 kB / 259.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.466e-05/0.008523, allocations: 98.38 kB / 259.4 MB, free: 15.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.008668, allocations: 138.7 kB / 259.5 MB, free: 15.1 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008669, allocations: 3.938 kB / 259.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00021/0.00888, allocations: 213.1 kB / 259.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.008891, allocations: 8 kB / 259.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.008896, allocations: 4 kB / 259.7 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.008908, allocations: 4 kB / 259.7 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.009068, allocations: 71.89 kB / 259.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.009074, allocations: 4 kB / 259.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.009128, allocations: 12.09 kB / 259.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.009137, allocations: 8 kB / 259.8 MB, free: 14.77 MB / 250.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 7.736e-05/0.009214, allocations: 168.5 kB / 260 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.009246, allocations: 31.84 kB / 260 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.009284, allocations: 29.95 kB / 260 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.009286, allocations: 0 / 260 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.00929, allocations: 4 kB / 260 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.009294, allocations: 0 / 260 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.009776, allocations: 0.5477 MB / 260.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009777, allocations: 0 / 260.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.009945, allocations: 67.91 kB / 260.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009948, allocations: 0 / 260.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.009964, allocations: 11.98 kB / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.009965, allocations: 0 / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.009967, allocations: 4 kB / 260.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.01028, allocations: 405 kB / 261.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.01029, allocations: 15.91 kB / 261.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.01031, allocations: 12.06 kB / 261.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.01037, allocations: 8 kB / 261.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.01042, allocations: 19.95 kB / 261.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.01043, allocations: 8 kB / 261.1 MB, free: 13.37 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.01048, allocations: 155.8 kB / 261.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01048, allocations: 0 / 261.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.01066, allocations: 56 kB / 261.3 MB, free: 13.16 MB / 250.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.006e-05/0.01073, allocations: 107.2 kB / 261.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.01093, allocations: 132.1 kB / 261.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01093, allocations: 0 / 261.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.01101, allocations: 91.39 kB / 261.7 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.01127, allocations: 39.98 kB / 261.7 MB, free: 12.78 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.0122, allocations: 0.6803 MB / 262.4 MB, free: 12.06 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.364e-05/0.01225, allocations: 88.64 kB / 262.5 MB, free: 11.95 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.01231, allocations: 21.94 kB / 262.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.01236, allocations: 20.5 kB / 262.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01236, allocations: 0 / 262.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of Templates: time 0.003567/0.01593, allocations: 2.106 MB / 264.6 MB, free: 9.82 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] 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","",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.581397030968219]