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.0009694/0.0009694, allocations: 180.2 kB / 17.41 MB, free: 4.281 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.371/1.371, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007139/0.0007139, allocations: 90.36 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1948, allocations: 47.57 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0836/0.2785, allocations: 77.98 MB / 453.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.2787, allocations: 79.95 kB / 453.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.2901, allocations: 4.339 MB / 458.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2902, allocations: 0 / 458.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.2902, allocations: 4 kB / 458.1 MB, free: 14.19 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.0006546/0.2909, allocations: 0.5033 MB / 458.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2909, allocations: 12.03 kB / 458.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.291, allocations: 24.66 kB / 458.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.2912, allocations: 233 kB / 458.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2912, allocations: 16.94 kB / 458.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.2913, allocations: 36.28 kB / 458.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.2917, allocations: 236.9 kB / 459.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2918, allocations: 0 / 459.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.2918, allocations: 12 kB / 459.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2918, allocations: 11.98 kB / 459.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.2922, allocations: 178.1 kB / 459.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.2933, allocations: 0.761 MB / 460.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.2938, allocations: 214.6 kB / 460.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.294, allocations: 118.1 kB / 460.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.294, allocations: 15.81 kB / 460.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2941, allocations: 38.5 kB / 460.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.2941, allocations: 0 / 460.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001678/0.2957, allocations: 0.9945 MB / 461.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.2958, allocations: 51.41 kB / 461.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.2959, allocations: 154.7 kB / 461.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.296, allocations: 29.7 kB / 461.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.296, allocations: 148.5 kB / 461.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/0.2961, allocations: 106.5 kB / 462 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.2961, allocations: 8 kB / 462 MB, free: 10.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2963, allocations: 328.3 kB / 462.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.2965, allocations: 83.89 kB / 462.4 MB, free: 9.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.2967, allocations: 127.2 kB / 462.5 MB, free: 9.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.297, allocations: 211.8 kB / 462.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2971, allocations: 4 kB / 462.7 MB, free: 9.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004618/0.2975, allocations: 261.4 kB / 463 MB, free: 8.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2976, allocations: 7.938 kB / 463 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2976, allocations: 96 / 463 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2976, allocations: 11.98 kB / 463 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.2979, allocations: 79.91 kB / 463.1 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2979, allocations: 4 kB / 463.1 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2981, allocations: 15.98 kB / 463.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.2981, allocations: 8 kB / 463.1 MB, free: 8.871 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.0001298/0.2982, allocations: 141.7 kB / 463.2 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.2983, allocations: 19.72 kB / 463.3 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.372e-05/0.2983, allocations: 30.55 kB / 463.3 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2983, allocations: 4 kB / 463.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2984, allocations: 0 / 463.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2984, allocations: 0 / 463.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009541/0.2993, allocations: 0.6716 MB / 464 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2993, allocations: 0 / 464 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.2997, allocations: 75.89 kB / 464 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2997, allocations: 0 / 464 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.2997, allocations: 12.06 kB / 464.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2997, allocations: 3.938 kB / 464.1 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2997, allocations: 3.938 kB / 464.1 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.3004, allocations: 460.5 kB / 464.5 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.3005, allocations: 92.91 kB / 464.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.3005, allocations: 8.062 kB / 464.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3006, allocations: 12 kB / 464.6 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.3007, allocations: 27.91 kB / 464.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3007, allocations: 8 kB / 464.7 MB, free: 7.207 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.3008, allocations: 119.5 kB / 464.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3008, allocations: 0 / 464.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.3011, allocations: 64 kB / 464.8 MB, free: 7.027 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.0001211/0.3012, allocations: 103.2 kB / 464.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.3017, allocations: 203.8 kB / 465.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3017, allocations: 4 kB / 465.1 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.3019, allocations: 107.8 kB / 465.2 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3023, allocations: 48.12 kB / 465.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3037, allocations: 1.014 MB / 466.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.304, allocations: 0.7525 MB / 467.1 MB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.3041, allocations: 19.44 kB / 467.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3041, allocations: 0 / 467.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of Templates: time 0.004196/0.3083, allocations: 2.752 MB / 469.8 MB, free: 1.977 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