Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 186.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 104.1 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008519/0.0008519, allocations: 39.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2491, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002933/0.2521, allocations: 2.468 MB / 401.9 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007351/0.2528, allocations: 0.5699 MB / 402.5 MB, free: 30.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.253, allocations: 4 kB / 402.5 MB, free: 30.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.2531, allocations: 31.7 kB / 402.5 MB, free: 30.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2533, allocations: 67.47 kB / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.2534, allocations: 55.94 kB / 402.7 MB, free: 30.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.2536, allocations: 282.7 kB / 402.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.2538, allocations: 95.48 kB / 403 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.254, allocations: 103.6 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.2541, allocations: 115.5 kB / 403.2 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.2542, allocations: 16 kB / 403.3 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.2542, allocations: 16 kB / 403.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.2543, allocations: 47.83 kB / 403.3 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2544, allocations: 131.3 kB / 403.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.2546, allocations: 284.5 kB / 403.7 MB, free: 29.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.2547, allocations: 0 / 403.7 MB, free: 29.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2547, allocations: 0 / 403.7 MB, free: 29.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2547, allocations: 0 / 403.7 MB, free: 29.09 MB / 298.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.0008295/0.2555, allocations: 0.5382 MB / 404.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.2556, allocations: 8.031 kB / 404.3 MB, free: 28.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.2556, allocations: 28.56 kB / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.2559, allocations: 244.4 kB / 404.5 MB, free: 28.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.2559, allocations: 16.94 kB / 404.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.256, allocations: 32.06 kB / 404.6 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.2564, allocations: 228.9 kB / 404.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2564, allocations: 0 / 404.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.2565, allocations: 12 kB / 404.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.2565, allocations: 11.98 kB / 404.8 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.2569, allocations: 174.1 kB / 405 MB, free: 27.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009794/0.2579, allocations: 0.7615 MB / 405.8 MB, free: 26.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.2583, allocations: 226.4 kB / 406 MB, free: 26.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.2585, allocations: 112.8 kB / 406.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2585, allocations: 0 / 406.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.2585, allocations: 38.56 kB / 406.1 MB, free: 26.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.262e-06/0.2585, allocations: 0 / 406.1 MB, free: 26.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001394/0.2599, allocations: 0.9619 MB / 407.1 MB, free: 25.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.26, allocations: 55.41 kB / 407.2 MB, free: 25.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2601, allocations: 158.7 kB / 407.3 MB, free: 25.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2601, allocations: 29.7 kB / 407.3 MB, free: 25.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.2602, allocations: 152.5 kB / 407.5 MB, free: 25.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.2602, allocations: 98.55 kB / 407.6 MB, free: 24.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.2603, allocations: 49.7 kB / 407.6 MB, free: 24.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.2603, allocations: 330.8 kB / 408 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2605, allocations: 71.95 kB / 408 MB, free: 24.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.2607, allocations: 119.4 kB / 408.1 MB, free: 24.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.261, allocations: 199.8 kB / 408.3 MB, free: 24.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.261, allocations: 0 / 408.3 MB, free: 24.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000384/0.2614, allocations: 261.8 kB / 408.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2614, allocations: 4 kB / 408.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2615, allocations: 4 kB / 408.6 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2615, allocations: 0 / 408.6 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.2617, allocations: 79.89 kB / 408.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2617, allocations: 3.938 kB / 408.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.2619, allocations: 24.08 kB / 408.7 MB, free: 23.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2619, allocations: 12 kB / 408.7 MB, free: 23.75 MB / 298.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.474e-05/0.262, allocations: 138.6 kB / 408.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.262, allocations: 19.81 kB / 408.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.2621, allocations: 26.55 kB / 408.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.2621, allocations: 4 kB / 408.9 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2621, allocations: 0 / 408.9 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2621, allocations: 0 / 408.9 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.2628, allocations: 0.652 MB / 409.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2629, allocations: 4 kB / 409.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.2632, allocations: 79.83 kB / 409.6 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2632, allocations: 0 / 409.6 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2632, allocations: 8 kB / 409.6 MB, free: 22.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2632, allocations: 8 kB / 409.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2632, allocations: 0 / 409.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.2655, allocations: 2.137 MB / 411.8 MB, free: 20.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.2655, allocations: 92.92 kB / 411.9 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.2656, allocations: 11.94 kB / 411.9 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2657, allocations: 15.98 kB / 411.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.2658, allocations: 23.92 kB / 411.9 MB, free: 20.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2658, allocations: 4 kB / 411.9 MB, free: 20.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.65e-05/0.2658, allocations: 123.5 kB / 412.1 MB, free: 20.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2658, allocations: 0 / 412.1 MB, free: 20.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003578/0.2662, allocations: 84 kB / 412.1 MB, free: 20.11 MB / 298.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 9.89e-05/0.2663, allocations: 107.2 kB / 412.2 MB, free: 19.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.2667, allocations: 203.8 kB / 412.4 MB, free: 19.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2667, allocations: 0 / 412.4 MB, free: 19.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.2669, allocations: 107.8 kB / 412.5 MB, free: 19.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.2673, allocations: 38.55 kB / 412.6 MB, free: 19.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.2685, allocations: 1.125 MB / 413.7 MB, free: 18.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.2687, allocations: 0.7525 MB / 414.5 MB, free: 17.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.194e-05/0.2688, allocations: 25.94 kB / 414.5 MB, free: 17.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.2688, allocations: 19.44 kB / 414.5 MB, free: 17.66 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2688, allocations: 0 / 414.5 MB, free: 17.66 MB / 298.7 MB Notification: Performance of Templates: time 0.004549/0.2734, allocations: 2.452 MB / 417 MB, free: 15.22 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches