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.001304/0.001304, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001481/0.001481, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001752/0.001752, allocations: 51.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2528, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004284/0.2571, allocations: 2.31 MB / 433.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2582, allocations: 0.5921 MB / 434.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.2583, allocations: 8 kB / 434.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2585, allocations: 35.59 kB / 434.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2587, allocations: 83.2 kB / 434.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.2589, allocations: 67.91 kB / 434.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.2592, allocations: 294.6 kB / 434.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.2594, allocations: 75.36 kB / 435 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.2596, allocations: 107.6 kB / 435.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.2598, allocations: 111.4 kB / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.2598, allocations: 24 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.2599, allocations: 24 kB / 435.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.2599, allocations: 59.77 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.26, allocations: 107.5 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.2604, allocations: 301 kB / 435.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2604, allocations: 4 kB / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2604, allocations: 0 / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2604, allocations: 0 / 435.7 MB, free: 2.535 MB / 334.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.0008162/0.2612, allocations: 481.7 kB / 436.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2613, allocations: 8.031 kB / 436.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.2613, allocations: 28.75 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.2616, allocations: 180.8 kB / 436.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2617, allocations: 21.03 kB / 436.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.2617, allocations: 32.12 kB / 436.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.2622, allocations: 226 kB / 436.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.2622, allocations: 11.95 kB / 436.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2622, allocations: 8 kB / 436.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2622, allocations: 8 kB / 436.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.2627, allocations: 170.5 kB / 436.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.2638, allocations: 0.6094 MB / 437.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.2643, allocations: 198.6 kB / 437.7 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.2645, allocations: 104.3 kB / 437.8 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.2645, allocations: 7.938 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2645, allocations: 30.56 kB / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/0.2645, allocations: 0 / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001706/0.2662, allocations: 0.8171 MB / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.2663, allocations: 55.41 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2664, allocations: 142.2 kB / 438.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.2665, allocations: 29.7 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.2665, allocations: 148.8 kB / 439 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.2666, allocations: 110.9 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.2667, allocations: 57.7 kB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2669, allocations: 330.8 kB / 439.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.2671, allocations: 71.95 kB / 439.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.2673, allocations: 115.3 kB / 439.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.2677, allocations: 211.3 kB / 439.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2677, allocations: 0 / 439.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004944/0.2682, allocations: 257.4 kB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2682, allocations: 4 kB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2682, allocations: 4 kB / 440.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2682, allocations: 0 / 440.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.2685, allocations: 83.98 kB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2685, allocations: 0 / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2686, allocations: 12 kB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2686, allocations: 12 kB / 440.3 MB, free: 13.78 MB / 350.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.0001352/0.2688, allocations: 142.6 kB / 440.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.2688, allocations: 19.86 kB / 440.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.2689, allocations: 25.97 kB / 440.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2689, allocations: 4 kB / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.2689, allocations: 4 kB / 440.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2689, allocations: 11.97 kB / 440.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/0.2699, allocations: 0.5507 MB / 441 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2699, allocations: 3.938 kB / 441 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.2702, allocations: 67.91 kB / 441.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2702, allocations: 4 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.2702, allocations: 11.98 kB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2702, allocations: 0 / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2702, allocations: 4.062 kB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007373/0.271, allocations: 438.4 kB / 441.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.271, allocations: 19.92 kB / 441.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.271, allocations: 8 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.2712, allocations: 7.984 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.2712, allocations: 27.84 kB / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2712, allocations: 15.98 kB / 441.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.449e-05/0.2713, allocations: 110.9 kB / 441.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2713, allocations: 0 / 441.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.2716, allocations: 60 kB / 441.8 MB, free: 12.18 MB / 350.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.0001263/0.2718, allocations: 99.25 kB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.2722, allocations: 188 kB / 442.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2722, allocations: 0 / 442.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.2724, allocations: 100 kB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.2728, allocations: 53.75 kB / 442.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2743, allocations: 0.82 MB / 443 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.2744, allocations: 150.5 kB / 443.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.846e-05/0.2745, allocations: 13.95 kB / 443.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.2745, allocations: 19.44 kB / 443.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2745, allocations: 0 / 443.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Templates: time 0.006294/0.2808, allocations: 2.407 MB / 445.6 MB, free: 8.32 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.484513074159622]