Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 119.3 kB / 21.17 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 212.8 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 230.4 MB / 258.1 MB, free: 8.168 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2592, allocations: 53.3 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003963/0.2632, allocations: 2.464 MB / 434.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2643, allocations: 0.6233 MB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.2644, allocations: 7.938 kB / 435.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.2645, allocations: 35.59 kB / 435.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.2647, allocations: 75.33 kB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.2649, allocations: 71.84 kB / 435.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.2652, allocations: 294.6 kB / 435.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.2654, allocations: 78.95 kB / 435.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.2656, allocations: 115.6 kB / 435.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.2658, allocations: 123.5 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.2658, allocations: 24 kB / 435.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.25e-05/0.2658, allocations: 24 kB / 435.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.2659, allocations: 55.83 kB / 436 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.266, allocations: 131.3 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.2664, allocations: 292.3 kB / 436.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2664, allocations: 7.938 kB / 436.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2664, allocations: 4 kB / 436.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2664, allocations: 0 / 436.4 MB, free: 2.992 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.0008376/0.2672, allocations: 0.534 MB / 437 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2673, allocations: 12.02 kB / 437 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.2673, allocations: 32.75 kB / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.2677, allocations: 240.5 kB / 437.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2677, allocations: 28.88 kB / 437.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.2678, allocations: 32.12 kB / 437.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.2682, allocations: 224.9 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2682, allocations: 3.953 kB / 437.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.2683, allocations: 12 kB / 437.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.2683, allocations: 7.984 kB / 437.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.2687, allocations: 182.1 kB / 437.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2699, allocations: 0.7502 MB / 438.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.2704, allocations: 206.5 kB / 438.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.2706, allocations: 108.8 kB / 438.8 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.2706, allocations: 4 kB / 438.8 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2706, allocations: 30.56 kB / 438.8 MB, free: 448 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.2706, allocations: 0 / 438.8 MB, free: 448 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001829/0.2725, allocations: 0.9753 MB / 439.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.2725, allocations: 59.34 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.2727, allocations: 151.1 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2727, allocations: 33.7 kB / 440 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2728, allocations: 136.8 kB / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.012e-05/0.2729, allocations: 115.1 kB / 440.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/0.273, allocations: 49.7 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2731, allocations: 334.8 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.2733, allocations: 75.95 kB / 440.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.2735, allocations: 108.9 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.2739, allocations: 207.8 kB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2739, allocations: 0 / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005053/0.2744, allocations: 261.5 kB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2744, allocations: 7.125 kB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.2744, allocations: 0 / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2745, allocations: 4 kB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.2748, allocations: 75.89 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2748, allocations: 0 / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.2749, allocations: 19.98 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2749, allocations: 8 kB / 441.4 MB, free: 13.68 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.0001493/0.2751, allocations: 149.7 kB / 441.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.2751, allocations: 27.84 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.582e-05/0.2752, allocations: 26.56 kB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2752, allocations: 4 kB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2752, allocations: 0 / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2752, allocations: 3.984 kB / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2762, allocations: 0.6564 MB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2762, allocations: 0 / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.2766, allocations: 71.89 kB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2766, allocations: 4 kB / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.2766, allocations: 4 kB / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.2766, allocations: 7.938 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2766, allocations: 0 / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.2773, allocations: 455.3 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.2774, allocations: 97.08 kB / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.2774, allocations: 0 / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2776, allocations: 19.92 kB / 442.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.2777, allocations: 19.98 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.2777, allocations: 4 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.2778, allocations: 119.2 kB / 443 MB, free: 11.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2778, allocations: 0 / 443 MB, free: 11.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.2781, allocations: 56 kB / 443.1 MB, free: 11.87 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.0001333/0.2782, allocations: 111.2 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.2787, allocations: 196 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2787, allocations: 4 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.2789, allocations: 91.89 kB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.2793, allocations: 39.97 kB / 443.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2807, allocations: 0.8603 MB / 444.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2811, allocations: 0.7522 MB / 445.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.2812, allocations: 19.44 kB / 445.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2812, allocations: 0 / 445.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Templates: time 0.005001/0.2862, allocations: 2.819 MB / 448 MB, free: 6.91 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.852410648949444]