Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001233/0.001233, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 63.88 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2817, allocations: 50.54 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003307/0.2851, allocations: 2.433 MB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009438/0.2861, allocations: 0.6038 MB / 412.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2862, allocations: 12 kB / 412.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.2863, allocations: 43.58 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.2865, allocations: 79.27 kB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.2867, allocations: 47.94 kB / 412.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.287, allocations: 302.6 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.2872, allocations: 122.9 kB / 412.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.2873, allocations: 111.6 kB / 413 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.2875, allocations: 115.5 kB / 413.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.2875, allocations: 24 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.2876, allocations: 24 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.2877, allocations: 63.75 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.2878, allocations: 131.3 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.2881, allocations: 294.6 kB / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2881, allocations: 0 / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2881, allocations: 0 / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.2882, allocations: 4 kB / 413.6 MB, free: 13.22 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.0007822/0.2889, allocations: 0.5418 MB / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.289, allocations: 8.031 kB / 414.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.2891, allocations: 32.69 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.2894, allocations: 244.5 kB / 414.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.2894, allocations: 20.94 kB / 414.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.2895, allocations: 36.06 kB / 414.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.2899, allocations: 220.9 kB / 414.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.29, allocations: 7.953 kB / 414.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.29, allocations: 11.94 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.29, allocations: 8 kB / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.2904, allocations: 178.1 kB / 414.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.2916, allocations: 0.7463 MB / 415.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.2921, allocations: 221.5 kB / 415.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.2923, allocations: 120.8 kB / 416 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2923, allocations: 4 kB / 416 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.2924, allocations: 34.56 kB / 416 MB, free: 10.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.302e-06/0.2924, allocations: 0 / 416 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001698/0.2941, allocations: 0.9711 MB / 417 MB, free: 9.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2941, allocations: 55.41 kB / 417.1 MB, free: 9.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.2943, allocations: 151.1 kB / 417.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2943, allocations: 33.7 kB / 417.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.2944, allocations: 136.8 kB / 417.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/0.2944, allocations: 111.1 kB / 417.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.2945, allocations: 57.7 kB / 417.5 MB, free: 9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2947, allocations: 334.8 kB / 417.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.2948, allocations: 71.95 kB / 417.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.295, allocations: 108.3 kB / 418 MB, free: 8.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.2954, allocations: 207.3 kB / 418.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2954, allocations: 0 / 418.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004771/0.2959, allocations: 261.4 kB / 418.5 MB, free: 8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.296, allocations: 8.094 kB / 418.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.296, allocations: 0 / 418.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.296, allocations: 4 kB / 418.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.2963, allocations: 75.89 kB / 418.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2963, allocations: 4 kB / 418.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.2964, allocations: 11.98 kB / 418.6 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2964, allocations: 8 kB / 418.6 MB, free: 7.891 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.0001199/0.2966, allocations: 149.7 kB / 418.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.2966, allocations: 27.8 kB / 418.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.2967, allocations: 22.56 kB / 418.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2967, allocations: 4 kB / 418.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2967, allocations: 0 / 418.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.2967, allocations: 3.984 kB / 418.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.2977, allocations: 0.653 MB / 419.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.2977, allocations: 0 / 419.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.298, allocations: 75.95 kB / 419.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.298, allocations: 0 / 419.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.2981, allocations: 8 kB / 419.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.2981, allocations: 11.86 kB / 419.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2981, allocations: 4 kB / 419.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/0.2988, allocations: 447.6 kB / 420 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.2988, allocations: 96.95 kB / 420.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.2989, allocations: 4.062 kB / 420.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.299, allocations: 15.92 kB / 420.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.2991, allocations: 19.98 kB / 420.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.2991, allocations: 15.92 kB / 420.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.586e-05/0.2992, allocations: 115.3 kB / 420.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2992, allocations: 0 / 420.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.2995, allocations: 56 kB / 420.3 MB, free: 6.074 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.0001191/0.2996, allocations: 103.2 kB / 420.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.3, allocations: 212 kB / 420.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3, allocations: 0 / 420.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.3002, allocations: 107.8 kB / 420.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.3006, allocations: 35.97 kB / 420.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3019, allocations: 0.8131 MB / 421.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3022, allocations: 0.7522 MB / 422.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.828e-05/0.3023, allocations: 21.94 kB / 422.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.3024, allocations: 19.44 kB / 422.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3024, allocations: 4 kB / 422.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of Templates: time 0.00539/0.3078, allocations: 2.193 MB / 424.6 MB, free: 1.762 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches