Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_4_0_0_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.000795/0.0007952, allocations: 86.44 kB / 16.65 MB, free: 6.535 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.001202/0.001202, allocations: 176.3 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.0002771, allocations: 4 kB / 301.5 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1093, allocations: 50.42 MB / 351.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002987/0.1124, allocations: 2.109 MB / 354 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1137, allocations: 0.5649 MB / 354.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1139, allocations: 4 kB / 354.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.1141, allocations: 27.72 kB / 354.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.1144, allocations: 71.45 kB / 354.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1146, allocations: 51.94 kB / 354.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.115, allocations: 274.7 kB / 355 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.1152, allocations: 104.3 kB / 355.1 MB, free: 384 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1154, allocations: 95.59 kB / 355.2 MB, free: 288 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1157, allocations: 107.5 kB / 355.3 MB, free: 180 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.1157, allocations: 12 kB / 355.3 MB, free: 168 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-05/0.1158, allocations: 12 kB / 355.4 MB, free: 156 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.1158, allocations: 43.78 kB / 355.4 MB, free: 112 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.116, allocations: 149 kB / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.1163, allocations: 271.2 kB / 355.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1163, allocations: 0 / 355.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1163, allocations: 4 kB / 355.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1163, allocations: 4 kB / 355.8 MB, free: 15.68 MB / 302.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.0007712/0.1171, allocations: 0.4953 MB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1171, allocations: 12.03 kB / 356.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.624e-05/0.1172, allocations: 70.7 kB / 356.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.1173, allocations: 24.66 kB / 356.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1176, allocations: 243.6 kB / 356.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/0.1177, allocations: 20.94 kB / 356.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.1178, allocations: 31.94 kB / 356.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.1183, allocations: 224.9 kB / 356.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.1183, allocations: 7.906 kB / 356.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.1183, allocations: 12 kB / 356.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1184, allocations: 12 kB / 357 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.1188, allocations: 186.1 kB / 357.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.1201, allocations: 0.7694 MB / 357.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.1206, allocations: 226.5 kB / 358.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.1208, allocations: 120.8 kB / 358.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1209, allocations: 0 / 358.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1209, allocations: 38.56 kB / 358.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.182e-06/0.1209, allocations: 0 / 358.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001889/0.1228, allocations: 0.9945 MB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1229, allocations: 55.41 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.123, allocations: 159.8 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.123, allocations: 37.64 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.1231, allocations: 136.6 kB / 359.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.1232, allocations: 98.47 kB / 359.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.1233, allocations: 37.7 kB / 359.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1234, allocations: 334.8 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.1236, allocations: 75.95 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1238, allocations: 123.2 kB / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.1242, allocations: 211.3 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1243, allocations: 3.984 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004802/0.1247, allocations: 265.3 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1248, allocations: 8 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1248, allocations: 4.094 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1248, allocations: 4 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1251, allocations: 79.89 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1251, allocations: 3.984 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1252, allocations: 16 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1253, allocations: 11.98 kB / 360.9 MB, free: 10.24 MB / 302.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.0001249/0.1254, allocations: 149.9 kB / 361.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.1254, allocations: 15.81 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.494e-05/0.1255, allocations: 26.56 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1255, allocations: 4 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.1255, allocations: 0 / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1255, allocations: 3.984 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.1266, allocations: 0.6598 MB / 361.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1266, allocations: 4 kB / 361.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.1269, allocations: 71.95 kB / 361.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.1269, allocations: 4.062 kB / 361.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.127, allocations: 11.94 kB / 361.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.127, allocations: 4 kB / 361.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.984e-06/0.127, allocations: 7.938 kB / 361.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.1277, allocations: 461.6 kB / 362.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1278, allocations: 96.91 kB / 362.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.1278, allocations: 8 kB / 362.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.128, allocations: 15.98 kB / 362.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.128, allocations: 19.98 kB / 362.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.128, allocations: 8 kB / 362.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.229e-05/0.1281, allocations: 119.2 kB / 362.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.1281, allocations: 0 / 362.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.1285, allocations: 63.94 kB / 362.6 MB, free: 8.395 MB / 302.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.001092/0.1296, allocations: 1 MB / 363.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.1301, allocations: 209 kB / 363.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1301, allocations: 0 / 363.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.1303, allocations: 116.1 kB / 364 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.1308, allocations: 38.72 kB / 364 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.1346, allocations: 2.883 MB / 366.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1349, allocations: 0.756 MB / 367.6 MB, free: 3.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.849e-05/0.135, allocations: 17.95 kB / 367.7 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1351, allocations: 79.34 kB / 367.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1351, allocations: 0 / 367.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1937/0.3289, allocations: 4.073 MB / 371.8 MB, free: 24.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.3291, allocations: 205.6 kB / 372 MB, free: 24.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.257, allocations: 0 / 372 MB, free: 24.11 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches