Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 186.1 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001195, allocations: 92.05 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 11.98 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3474, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.4743, allocations: 77.94 MB / 452.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.4747, allocations: 75.95 kB / 452.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01853/0.4932, allocations: 4.331 MB / 456.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4933, allocations: 0 / 456.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.4933, allocations: 8 kB / 456.9 MB, free: 14.4 MB / 346.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.001013/0.4944, allocations: 0.4951 MB / 457.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4944, allocations: 8.031 kB / 457.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.577e-05/0.4945, allocations: 31.72 kB / 457.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.4949, allocations: 235.9 kB / 457.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.4949, allocations: 16.56 kB / 457.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.495, allocations: 27.91 kB / 457.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.4957, allocations: 232.8 kB / 457.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.4957, allocations: 4 kB / 457.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.4958, allocations: 8 kB / 457.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.4958, allocations: 8 kB / 457.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006864/0.4965, allocations: 186.1 kB / 458.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.4983, allocations: 0.7649 MB / 458.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.499, allocations: 214.5 kB / 459.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.499, allocations: 4.438 kB / 459.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.4991, allocations: 54.44 kB / 459.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.076e-06/0.4991, allocations: 0 / 459.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.002722/0.5018, allocations: 0.9924 MB / 460.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.5019, allocations: 63.39 kB / 460.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.5021, allocations: 133.8 kB / 460.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.5022, allocations: 33.7 kB / 460.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.5023, allocations: 206.9 kB / 460.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.5024, allocations: 98.55 kB / 460.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.5025, allocations: 8 kB / 460.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5026, allocations: 320.3 kB / 461 MB, free: 10 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.5029, allocations: 83.95 kB / 461.1 MB, free: 9.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.5033, allocations: 119.2 kB / 461.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.5037, allocations: 95.97 kB / 461.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5037, allocations: 0 / 461.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008046/0.5045, allocations: 262 kB / 461.5 MB, free: 9.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5045, allocations: 17.08 kB / 461.6 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5045, allocations: 0 / 461.6 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5046, allocations: 0 / 461.6 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.5051, allocations: 83.89 kB / 461.6 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5052, allocations: 0 / 461.6 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.5054, allocations: 15.98 kB / 461.7 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.5055, allocations: 12 kB / 461.7 MB, free: 9.312 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.5057, allocations: 145.7 kB / 461.8 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.5057, allocations: 19.72 kB / 461.8 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.657e-05/0.5058, allocations: 30.52 kB / 461.9 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5059, allocations: 0 / 461.9 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.5059, allocations: 4 kB / 461.9 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5059, allocations: 3.984 kB / 461.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.5074, allocations: 0.656 MB / 462.5 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5074, allocations: 0 / 462.5 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.5081, allocations: 80.02 kB / 462.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.5081, allocations: 4 kB / 462.6 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.5081, allocations: 7.938 kB / 462.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.5081, allocations: 7.938 kB / 462.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.5082, allocations: 3.938 kB / 462.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.5093, allocations: 478.3 kB / 463.1 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.5094, allocations: 92.83 kB / 463.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.5095, allocations: 12.06 kB / 463.2 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.5097, allocations: 20.11 kB / 463.2 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.5098, allocations: 19.97 kB / 463.2 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.5098, allocations: 4 kB / 463.2 MB, free: 7.617 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.51, allocations: 127.4 kB / 463.4 MB, free: 7.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.51, allocations: 0 / 463.4 MB, free: 7.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.5104, allocations: 64 kB / 463.4 MB, free: 7.43 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.5106, allocations: 103.2 kB / 463.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.5113, allocations: 211.7 kB / 463.7 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5113, allocations: 0 / 463.7 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.5117, allocations: 117.1 kB / 463.8 MB, free: 7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.5122, allocations: 32.47 kB / 463.9 MB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.5144, allocations: 1.01 MB / 464.9 MB, free: 5.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.5149, allocations: 0.7563 MB / 465.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.515, allocations: 19.44 kB / 465.7 MB, free: 5.121 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.515, allocations: 0 / 465.7 MB, free: 5.121 MB / 346.7 MB Notification: Performance of Templates: time 0.006853/0.5219, allocations: 2.692 MB / 468.4 MB, free: 2.434 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches