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.001532/0.001532, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001827/0.001827, allocations: 192 kB / 18.51 MB, free: 4.508 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.437/1.437, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001204/0.001204, allocations: 47.94 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1066, allocations: 46.62 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00392/0.1106, allocations: 2.415 MB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1117, allocations: 0.6164 MB / 330.4 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1118, allocations: 4 kB / 330.4 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.112, allocations: 47.52 kB / 330.5 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1122, allocations: 83.25 kB / 330.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.1124, allocations: 59.94 kB / 330.6 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.1127, allocations: 290.7 kB / 330.9 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.113, allocations: 110.7 kB / 331 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1131, allocations: 107.6 kB / 331.1 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1133, allocations: 127.5 kB / 331.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.1133, allocations: 20 kB / 331.2 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.1134, allocations: 24 kB / 331.3 MB, free: 480 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.1134, allocations: 59.78 kB / 331.3 MB, free: 420 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.1136, allocations: 127.4 kB / 331.4 MB, free: 292 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.1139, allocations: 307.1 kB / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1139, allocations: 0 / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1139, allocations: 0 / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1139, allocations: 0 / 331.7 MB, free: 15.98 MB / 286.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.0008778/0.1148, allocations: 0.5343 MB / 332.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/0.1149, allocations: 12.03 kB / 332.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.231e-05/0.115, allocations: 58.73 kB / 332.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.1151, allocations: 36.55 kB / 332.4 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1154, allocations: 240.4 kB / 332.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1154, allocations: 20.94 kB / 332.6 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.1155, allocations: 27.94 kB / 332.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.1159, allocations: 224.9 kB / 332.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1159, allocations: 3.984 kB / 332.9 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.116, allocations: 8 kB / 332.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.116, allocations: 12 kB / 332.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.1164, allocations: 178.1 kB / 333.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1175, allocations: 0.7539 MB / 333.8 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.118, allocations: 218.5 kB / 334.1 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.1182, allocations: 120.8 kB / 334.2 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1183, allocations: 4 kB / 334.2 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1183, allocations: 34.56 kB / 334.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.332e-06/0.1183, allocations: 0 / 334.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001815/0.1201, allocations: 0.965 MB / 335.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.1202, allocations: 55.41 kB / 335.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1203, allocations: 150.7 kB / 335.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.1204, allocations: 29.7 kB / 335.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1205, allocations: 152.6 kB / 335.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.978e-05/0.1206, allocations: 102.5 kB / 335.7 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.1207, allocations: 53.64 kB / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1208, allocations: 338.7 kB / 336 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.121, allocations: 71.95 kB / 336.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1212, allocations: 115.2 kB / 336.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1216, allocations: 195.3 kB / 336.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1216, allocations: 0 / 336.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004816/0.1221, allocations: 265.3 kB / 336.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1221, allocations: 11.98 kB / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1222, allocations: 0 / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1222, allocations: 7.938 kB / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.1225, allocations: 67.97 kB / 336.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.1225, allocations: 11.92 kB / 336.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1226, allocations: 11.98 kB / 336.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1226, allocations: 8 kB / 336.8 MB, free: 10.6 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.000136/0.1228, allocations: 149.8 kB / 336.9 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.1228, allocations: 15.81 kB / 336.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.1229, allocations: 30.55 kB / 337 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1229, allocations: 0 / 337 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1229, allocations: 4 kB / 337 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.123, allocations: 0 / 337 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000939/0.1239, allocations: 0.6497 MB / 337.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1239, allocations: 0 / 337.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.1242, allocations: 75.91 kB / 337.7 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1242, allocations: 3.984 kB / 337.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1243, allocations: 11.94 kB / 337.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1243, allocations: 4 kB / 337.7 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1243, allocations: 0 / 337.7 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007255/0.125, allocations: 438.8 kB / 338.2 MB, free: 9.141 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.1251, allocations: 96.91 kB / 338.2 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.1252, allocations: 11.98 kB / 338.3 MB, free: 9.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1253, allocations: 16 kB / 338.3 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.1254, allocations: 15.97 kB / 338.3 MB, free: 8.984 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1254, allocations: 8 kB / 338.3 MB, free: 8.977 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.435e-05/0.1255, allocations: 123.5 kB / 338.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1255, allocations: 0 / 338.4 MB, free: 8.855 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1258, allocations: 56 kB / 338.5 MB, free: 8.801 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.0009181/0.1267, allocations: 0.9836 MB / 339.5 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.1272, allocations: 219.8 kB / 339.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1272, allocations: 0 / 339.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.1274, allocations: 112 kB / 339.8 MB, free: 7.457 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.1278, allocations: 35.97 kB / 339.8 MB, free: 7.422 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.1314, allocations: 2.659 MB / 342.5 MB, free: 4.645 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1317, allocations: 0.7522 MB / 343.2 MB, free: 3.867 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.1318, allocations: 21.94 kB / 343.2 MB, free: 3.844 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.132, allocations: 79.41 kB / 343.3 MB, free: 3.766 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.132, allocations: 0 / 343.3 MB, free: 3.766 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.1557, allocations: 4.419 MB / 347.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.851, allocations: 12.05 kB / 347.8 MB, free: 15.27 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches