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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 115.5 kB / 18.45 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 210.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB 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.001942/0.001942, allocations: 63.89 kB / 359.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2504, allocations: 50.55 MB / 410.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003751/0.2542, allocations: 2.441 MB / 412.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2552, allocations: 0.6077 MB / 413.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2553, allocations: 8 kB / 413.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.2555, allocations: 43.58 kB / 413.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.2556, allocations: 79.27 kB / 413.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.2558, allocations: 55.94 kB / 413.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.2561, allocations: 294.6 kB / 413.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.2563, allocations: 86.94 kB / 413.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.2565, allocations: 119.6 kB / 413.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.2566, allocations: 123.5 kB / 414 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.2567, allocations: 27.94 kB / 414.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.344e-05/0.2567, allocations: 24 kB / 414.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.2568, allocations: 47.78 kB / 414.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.2569, allocations: 143.3 kB / 414.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.2573, allocations: 294.6 kB / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2573, allocations: 0 / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2573, allocations: 0 / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.2573, allocations: 0 / 414.6 MB, free: 13.07 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.0008619/0.2582, allocations: 0.5379 MB / 415.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2582, allocations: 11.97 kB / 415.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.2583, allocations: 36.75 kB / 415.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.2586, allocations: 240.5 kB / 415.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2586, allocations: 20.94 kB / 415.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.2587, allocations: 28.12 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.2591, allocations: 232.8 kB / 415.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.2592, allocations: 7.891 kB / 415.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.2592, allocations: 15.98 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.2592, allocations: 4 kB / 415.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.2596, allocations: 178.1 kB / 415.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.2609, allocations: 0.7464 MB / 416.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.2614, allocations: 206.5 kB / 416.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.2617, allocations: 100.8 kB / 416.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2617, allocations: 4 kB / 416.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2617, allocations: 34.56 kB / 416.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.2617, allocations: 0 / 416.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001873/0.2636, allocations: 0.9753 MB / 417.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2636, allocations: 55.41 kB / 418 MB, free: 9.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.2638, allocations: 151.1 kB / 418.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.2638, allocations: 33.7 kB / 418.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.2639, allocations: 136.8 kB / 418.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/0.264, allocations: 115 kB / 418.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.2641, allocations: 49.7 kB / 418.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2642, allocations: 334.8 kB / 418.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.2644, allocations: 75.95 kB / 418.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.2646, allocations: 120.1 kB / 419 MB, free: 8.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.265, allocations: 203.3 kB / 419.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.265, allocations: 0 / 419.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005107/0.2655, allocations: 261.4 kB / 419.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2655, allocations: 7.438 kB / 419.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2656, allocations: 0 / 419.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.2656, allocations: 12.03 kB / 419.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.2659, allocations: 75.88 kB / 419.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2659, allocations: 4 kB / 419.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.266, allocations: 15.98 kB / 419.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.266, allocations: 8 kB / 419.5 MB, free: 7.754 MB / 334.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.0001357/0.2662, allocations: 145.7 kB / 419.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.2662, allocations: 19.86 kB / 419.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.2663, allocations: 38.48 kB / 419.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2663, allocations: 4 kB / 419.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2663, allocations: 0 / 419.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2663, allocations: 0 / 419.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2673, allocations: 0.6486 MB / 420.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2673, allocations: 0 / 420.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.2676, allocations: 72.02 kB / 420.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2676, allocations: 0 / 420.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2676, allocations: 8 kB / 420.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.2676, allocations: 11.88 kB / 420.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2677, allocations: 0 / 420.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007267/0.2684, allocations: 447.3 kB / 420.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.2685, allocations: 97.08 kB / 421 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.2685, allocations: 4 kB / 421 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2686, allocations: 15.92 kB / 421 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.2687, allocations: 23.91 kB / 421.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.2687, allocations: 8 kB / 421.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.865e-05/0.2688, allocations: 119.2 kB / 421.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2688, allocations: 0 / 421.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000303/0.2691, allocations: 56 kB / 421.2 MB, free: 5.949 MB / 334.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.0001103/0.2692, allocations: 103.2 kB / 421.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.2697, allocations: 196 kB / 421.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2697, allocations: 0 / 421.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.2699, allocations: 101.1 kB / 421.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.2703, allocations: 43.3 kB / 421.7 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.2717, allocations: 0.8183 MB / 422.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.2722, allocations: 0.7522 MB / 423.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.901e-05/0.2722, allocations: 17.94 kB / 423.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.2723, allocations: 23.44 kB / 423.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2723, allocations: 3.938 kB / 423.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of Templates: time 0.005839/0.2781, allocations: 2.232 MB / 425.5 MB, free: 1.613 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches