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.001039/0.001039, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001135/0.001135, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 46.91 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0782/0.07923, allocations: 49.44 MB / 349.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003599/0.08287, allocations: 2.461 MB / 352 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.08385, allocations: 0.5765 MB / 352.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.08407, allocations: 4 kB / 352.5 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.08427, allocations: 23.78 kB / 352.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.08447, allocations: 71.45 kB / 352.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.08467, allocations: 63.81 kB / 352.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.08496, allocations: 270.7 kB / 353 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.08515, allocations: 99.39 kB / 353.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.0853, allocations: 99.58 kB / 353.2 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.08545, allocations: 119.5 kB / 353.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.479e-05/0.08549, allocations: 16 kB / 353.3 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.364e-05/0.08554, allocations: 20 kB / 353.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.08559, allocations: 43.84 kB / 353.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.08571, allocations: 131.3 kB / 353.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.08596, allocations: 279.2 kB / 353.8 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.08597, allocations: 3.938 kB / 353.8 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.08598, allocations: 0 / 353.8 MB, free: 480 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.08599, allocations: 0 / 353.8 MB, free: 480 kB / 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.0007551/0.08675, allocations: 0.5343 MB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.0868, allocations: 12.03 kB / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.08686, allocations: 58.73 kB / 354.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.08692, allocations: 28.66 kB / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.08716, allocations: 247.4 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.08718, allocations: 20.94 kB / 354.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.08723, allocations: 27.94 kB / 354.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.08767, allocations: 224.9 kB / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.0877, allocations: 3.906 kB / 354.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.08773, allocations: 11.98 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.08774, allocations: 12 kB / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.08816, allocations: 178.1 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.0893, allocations: 0.7577 MB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.08976, allocations: 218.5 kB / 356.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.08999, allocations: 120.7 kB / 356.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.09001, allocations: 4 kB / 356.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.09004, allocations: 34.56 kB / 356.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/0.09005, allocations: 0 / 356.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001638/0.09169, allocations: 0.9709 MB / 357.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.09173, allocations: 55.41 kB / 357.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.09186, allocations: 155.8 kB / 357.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.09189, allocations: 25.7 kB / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.09198, allocations: 148.6 kB / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.09205, allocations: 98.56 kB / 357.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.09213, allocations: 49.7 kB / 357.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.09224, allocations: 334.8 kB / 358 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.09242, allocations: 71.95 kB / 358.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.09263, allocations: 119.2 kB / 358.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.09299, allocations: 199.3 kB / 358.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.093, allocations: 0 / 358.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004481/0.09346, allocations: 261.8 kB / 358.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.09348, allocations: 8 kB / 358.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.0935, allocations: 3.984 kB / 358.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.09351, allocations: 4 kB / 358.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.0938, allocations: 71.91 kB / 358.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.09382, allocations: 7.984 kB / 358.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.09395, allocations: 11.98 kB / 358.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.09397, allocations: 15.94 kB / 358.8 MB, free: 11.07 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.0001187/0.09409, allocations: 146 kB / 358.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.09414, allocations: 15.81 kB / 359 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.09421, allocations: 34.48 kB / 359 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.09422, allocations: 0 / 359 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.09423, allocations: 4 kB / 359 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.09423, allocations: 0 / 359 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.09513, allocations: 0.652 MB / 359.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.09514, allocations: 0 / 359.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.09547, allocations: 71.91 kB / 359.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.09549, allocations: 0 / 359.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.09551, allocations: 19.86 kB / 359.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.09552, allocations: 4 kB / 359.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.09553, allocations: 0 / 359.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.09617, allocations: 449.6 kB / 360.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.09623, allocations: 92.92 kB / 360.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.09626, allocations: 11.98 kB / 360.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.09641, allocations: 16 kB / 360.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.09648, allocations: 19.97 kB / 360.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.09649, allocations: 4 kB / 360.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.223e-05/0.09658, allocations: 119.2 kB / 360.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09659, allocations: 0 / 360.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.09689, allocations: 56 kB / 360.5 MB, free: 9.266 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.0008796/0.09777, allocations: 0.9805 MB / 361.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.09819, allocations: 205.1 kB / 361.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.0982, allocations: 0 / 361.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.09839, allocations: 107.8 kB / 361.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.09886, allocations: 32.86 kB / 361.8 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.1021, allocations: 2.755 MB / 364.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1024, allocations: 0.7521 MB / 365.3 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.814e-05/0.1025, allocations: 21.89 kB / 365.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1026, allocations: 75.41 kB / 365.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1027, allocations: 4 kB / 365.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07949/0.1822, allocations: 4.179 MB / 369.6 MB, free: 116 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.147/0.3292, allocations: 206 kB / 369.8 MB, free: 29.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.287, allocations: 0.5938 kB / 369.8 MB, free: 29.21 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