Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 102.9 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001444, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 55.91 kB / 280.1 MB, free: 3.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08248/0.08362, allocations: 46.62 MB / 326.7 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003315/0.08698, allocations: 2.469 MB / 329.2 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000811/0.0878, allocations: 0.6126 MB / 329.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.08792, allocations: 4 kB / 329.8 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.08806, allocations: 27.78 kB / 329.8 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.0882, allocations: 67.45 kB / 329.9 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.08838, allocations: 55.89 kB / 329.9 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.08866, allocations: 282.7 kB / 330.2 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.08884, allocations: 91.48 kB / 330.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.08895, allocations: 107.6 kB / 330.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.08907, allocations: 119.5 kB / 330.5 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.08911, allocations: 16 kB / 330.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.41e-05/0.08916, allocations: 20 kB / 330.5 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.08925, allocations: 39.84 kB / 330.6 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.08936, allocations: 123.3 kB / 330.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.08959, allocations: 295.2 kB / 331 MB, free: 456 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0896, allocations: 4 kB / 331 MB, free: 452 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08961, allocations: 0 / 331 MB, free: 452 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.08962, allocations: 0 / 331 MB, free: 452 kB / 270.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.0007093/0.09034, allocations: 0.5343 MB / 331.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.09038, allocations: 8.031 kB / 331.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.546e-05/0.09044, allocations: 58.73 kB / 331.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.0905, allocations: 32.56 kB / 331.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.09072, allocations: 244.4 kB / 331.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.09075, allocations: 16.94 kB / 331.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.0908, allocations: 31.94 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.09125, allocations: 220.9 kB / 332.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.09128, allocations: 4 kB / 332.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.0913, allocations: 8 kB / 332.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.09131, allocations: 8 kB / 332.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.09168, allocations: 182.1 kB / 332.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.09278, allocations: 0.7578 MB / 333.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.09322, allocations: 218.5 kB / 333.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.09343, allocations: 112.8 kB / 333.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.09346, allocations: 3.938 kB / 333.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.09349, allocations: 42.56 kB / 333.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.0935, allocations: 0 / 333.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001559/0.09506, allocations: 0.9728 MB / 334.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.0951, allocations: 51.41 kB / 334.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.09526, allocations: 159.1 kB / 334.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.09531, allocations: 29.7 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.09539, allocations: 148.6 kB / 334.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.09545, allocations: 98.5 kB / 334.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.09553, allocations: 49.7 kB / 335 MB, free: 12.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.09563, allocations: 334.8 kB / 335.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.09581, allocations: 71.95 kB / 335.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.096, allocations: 119.2 kB / 335.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.09638, allocations: 199.3 kB / 335.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.09639, allocations: 0 / 335.7 MB, free: 11.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004453/0.09684, allocations: 257.3 kB / 335.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.09687, allocations: 8 kB / 335.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.09688, allocations: 4 kB / 335.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.0969, allocations: 8.094 kB / 335.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.0972, allocations: 75.89 kB / 336 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.09721, allocations: 7.938 kB / 336 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.09734, allocations: 11.98 kB / 336 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.09736, allocations: 8 kB / 336 MB, free: 11.05 MB / 286.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.0001076/0.09747, allocations: 145.7 kB / 336.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.09751, allocations: 15.81 kB / 336.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.09758, allocations: 34.55 kB / 336.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.09759, allocations: 0 / 336.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.0976, allocations: 0 / 336.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.0976, allocations: 4 kB / 336.2 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/0.09848, allocations: 0.6536 MB / 336.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.09849, allocations: 0 / 336.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.0988, allocations: 71.91 kB / 337 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.09882, allocations: 0 / 337 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.09884, allocations: 15.92 kB / 337 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.09885, allocations: 0 / 337 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.09885, allocations: 4 kB / 337 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.09946, allocations: 437.4 kB / 337.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.09952, allocations: 88.92 kB / 337.5 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.09956, allocations: 15.98 kB / 337.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.09969, allocations: 11.94 kB / 337.5 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.09977, allocations: 19.97 kB / 337.5 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.09982, allocations: 12 kB / 337.5 MB, free: 9.434 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.064e-05/0.09989, allocations: 119.2 kB / 337.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0999, allocations: 4 kB / 337.7 MB, free: 9.312 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1002, allocations: 56 kB / 337.7 MB, free: 9.258 MB / 286.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.0008808/0.1011, allocations: 0.9777 MB / 338.7 MB, free: 8.246 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.1015, allocations: 195.9 kB / 338.9 MB, free: 8.055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1015, allocations: 4 kB / 338.9 MB, free: 8.051 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.1017, allocations: 112.2 kB / 339 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.1022, allocations: 31.98 kB / 339 MB, free: 7.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.1053, allocations: 2.776 MB / 341.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1056, allocations: 0.7522 MB / 342.6 MB, free: 4.246 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.782e-05/0.1057, allocations: 17.95 kB / 342.6 MB, free: 4.227 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1058, allocations: 79.41 kB / 342.7 MB, free: 4.148 MB / 286.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1059, allocations: 0 / 342.7 MB, free: 4.148 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.1244, allocations: 4.184 MB / 346.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.1247, allocations: 202.9 kB / 347 MB, free: 15.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.936, allocations: 0 / 347 MB, free: 15.68 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches