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.001339/0.001339, allocations: 177 kB / 16.41 MB, free: 5.703 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.341/1.341, 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.0008347/0.0008348, allocations: 86.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1984, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.001896/0.2004, allocations: 2.03 MB / 376.6 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000668/0.201, allocations: 0.5965 MB / 377.2 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2012, allocations: 4.188 kB / 377.2 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.723e-05/0.2013, allocations: 24.06 kB / 377.2 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2014, allocations: 67.73 kB / 377.3 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.2015, allocations: 42.19 kB / 377.3 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.2017, allocations: 277.5 kB / 377.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.2019, allocations: 78.92 kB / 377.7 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.202, allocations: 92.2 kB / 377.8 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.2021, allocations: 103.1 kB / 377.9 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.2022, allocations: 12.91 kB / 377.9 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.001e-05/0.2022, allocations: 13.97 kB / 377.9 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.2022, allocations: 38.06 kB / 377.9 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.2023, allocations: 75 kB / 378 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.2025, allocations: 218.7 kB / 378.2 MB, free: 42.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2025, allocations: 1.031 kB / 378.2 MB, free: 42.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2025, allocations: 0 / 378.2 MB, free: 42.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2025, allocations: 0 / 378.2 MB, free: 42.66 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.0005733/0.2031, allocations: 0.5047 MB / 378.7 MB, free: 42.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2031, allocations: 9.844 kB / 378.7 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.2032, allocations: 28.81 kB / 378.8 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.2033, allocations: 243.7 kB / 379 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2034, allocations: 18.06 kB / 379 MB, free: 41.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.2034, allocations: 25.84 kB / 379 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.2038, allocations: 225.7 kB / 379.3 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2039, allocations: 2.188 kB / 379.3 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.2039, allocations: 18.22 kB / 379.3 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2039, allocations: 9.516 kB / 379.3 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.2043, allocations: 181.3 kB / 379.5 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009689/0.2053, allocations: 0.7742 MB / 380.2 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.2057, allocations: 217.8 kB / 380.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.2059, allocations: 128.9 kB / 380.6 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.2059, allocations: 6.703 kB / 380.6 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.206, allocations: 36.03 kB / 380.6 MB, free: 40.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.206, allocations: 0 / 380.6 MB, free: 40.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001481/0.2074, allocations: 0.9925 MB / 381.6 MB, free: 40.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.2075, allocations: 53.88 kB / 381.7 MB, free: 40 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2076, allocations: 157 kB / 381.8 MB, free: 39.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2076, allocations: 30.92 kB / 381.8 MB, free: 39.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.2077, allocations: 151.4 kB / 382 MB, free: 39.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.2077, allocations: 98.22 kB / 382.1 MB, free: 39.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.2077, allocations: 4.938 kB / 382.1 MB, free: 39.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.2078, allocations: 327.8 kB / 382.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.208, allocations: 82.2 kB / 382.5 MB, free: 39.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.2082, allocations: 123.5 kB / 382.6 MB, free: 39.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.2084, allocations: 85.52 kB / 382.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2084, allocations: 0 / 382.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004562/0.2088, allocations: 279.3 kB / 383 MB, free: 38.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2088, allocations: 12.89 kB / 383 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2089, allocations: 1.5 kB / 383 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2089, allocations: 2.344 kB / 383 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.2092, allocations: 76.47 kB / 383.1 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2092, allocations: 2.781 kB / 383.1 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2093, allocations: 16.64 kB / 383.1 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2093, allocations: 14.44 kB / 383.1 MB, free: 38.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/0.2094, allocations: 135.9 kB / 383.2 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.2095, allocations: 21.05 kB / 383.2 MB, free: 38.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.2095, allocations: 29.45 kB / 383.3 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2095, allocations: 6.406 kB / 383.3 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2096, allocations: 5.562 kB / 383.3 MB, free: 38.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2096, allocations: 0 / 383.3 MB, free: 38.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/0.2103, allocations: 0.6723 MB / 384 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2104, allocations: 1.031 kB / 384 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.2107, allocations: 74.48 kB / 384 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2107, allocations: 2 kB / 384 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.2107, allocations: 6 kB / 384 MB, free: 38.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2107, allocations: 2.281 kB / 384 MB, free: 38.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2107, allocations: 1.156 kB / 384 MB, free: 38.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.2114, allocations: 466.5 kB / 384.5 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.2114, allocations: 97.12 kB / 384.6 MB, free: 37.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.2114, allocations: 6.969 kB / 384.6 MB, free: 37.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2116, allocations: 7.781 kB / 384.6 MB, free: 37.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2116, allocations: 20.88 kB / 384.6 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2117, allocations: 5.562 kB / 384.6 MB, free: 37.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.844e-05/0.2117, allocations: 119.9 kB / 384.8 MB, free: 37.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2117, allocations: 0 / 384.8 MB, free: 37.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.212, allocations: 59.75 kB / 384.8 MB, free: 37.66 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 (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 8.057e-05/0.2121, allocations: 100.4 kB / 384.9 MB, free: 37.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.2125, allocations: 215.3 kB / 385.1 MB, free: 37.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2125, allocations: 0 / 385.1 MB, free: 37.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.2127, allocations: 110.6 kB / 385.2 MB, free: 37.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.2131, allocations: 39.8 kB / 385.3 MB, free: 37.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2142, allocations: 1.028 MB / 386.3 MB, free: 36.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2144, allocations: 0.7557 MB / 387 MB, free: 35.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.2144, allocations: 23.44 kB / 387.1 MB, free: 35.81 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2144, allocations: 0 / 387.1 MB, free: 35.81 MB / 298.7 MB Notification: Performance of Templates: time 0.003092/0.2175, allocations: 2.712 MB / 389.8 MB, free: 33.1 MB / 298.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/jenkins/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