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.001395/0.001395, allocations: 113.4 kB / 17.28 MB, free: 6.207 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.001545/0.001545, allocations: 193.3 kB / 18.2 MB, free: 5.289 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.249/1.249, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.00112/0.001121, allocations: 48.14 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07728/0.07841, allocations: 46.63 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003523/0.08197, allocations: 2.457 MB / 329.3 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009492/0.08294, allocations: 0.6204 MB / 330 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.08306, allocations: 7.938 kB / 330 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.08323, allocations: 31.77 kB / 330 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.08337, allocations: 59.47 kB / 330.1 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.08352, allocations: 51.95 kB / 330.1 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.0838, allocations: 298.7 kB / 330.4 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.08401, allocations: 114.7 kB / 330.5 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.08413, allocations: 107.6 kB / 330.6 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.08432, allocations: 127.4 kB / 330.7 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.08436, allocations: 27.94 kB / 330.8 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.785e-05/0.0844, allocations: 27.94 kB / 330.8 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.08446, allocations: 59.81 kB / 330.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.08457, allocations: 127.4 kB / 331 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.08482, allocations: 295.2 kB / 331.3 MB, free: 292 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.08483, allocations: 0 / 331.3 MB, free: 292 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08484, allocations: 0 / 331.3 MB, free: 292 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.08485, allocations: 0 / 331.3 MB, free: 292 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.0007783/0.08563, allocations: 0.5343 MB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.08568, allocations: 15.97 kB / 331.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.704e-05/0.08574, allocations: 62.72 kB / 331.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.0858, allocations: 32.56 kB / 331.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.08609, allocations: 240.4 kB / 332.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.08612, allocations: 20.94 kB / 332.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.08617, allocations: 27.94 kB / 332.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.08661, allocations: 228.8 kB / 332.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.08664, allocations: 0 / 332.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.08667, allocations: 12 kB / 332.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.08668, allocations: 4 kB / 332.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.08705, allocations: 182.1 kB / 332.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.08814, allocations: 0.7617 MB / 333.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.08863, allocations: 210.5 kB / 333.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.08884, allocations: 112.8 kB / 333.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.08887, allocations: 8 kB / 333.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.0889, allocations: 30.56 kB / 333.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.152e-06/0.08891, allocations: 0 / 333.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001614/0.09053, allocations: 0.9689 MB / 334.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.09057, allocations: 55.41 kB / 334.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.0907, allocations: 155.8 kB / 334.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.09073, allocations: 29.7 kB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.0908, allocations: 136.6 kB / 335.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.09087, allocations: 110.4 kB / 335.2 MB, free: 12.08 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.09095, allocations: 53.7 kB / 335.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.09106, allocations: 334.8 kB / 335.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.09124, allocations: 75.95 kB / 335.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.09143, allocations: 115.2 kB / 335.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.09178, allocations: 199.4 kB / 335.9 MB, free: 11.28 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.09179, allocations: 4 kB / 335.9 MB, free: 11.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004898/0.09228, allocations: 261.2 kB / 336.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.09231, allocations: 4.094 kB / 336.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.09232, allocations: 7.938 kB / 336.2 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.09234, allocations: 4 kB / 336.2 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.09261, allocations: 75.89 kB / 336.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.09263, allocations: 0 / 336.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.09276, allocations: 19.98 kB / 336.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.09278, allocations: 4 kB / 336.3 MB, free: 10.9 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.0001606/0.09294, allocations: 141.7 kB / 336.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.093, allocations: 19.81 kB / 336.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.09306, allocations: 26.56 kB / 336.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.09307, allocations: 4 kB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.09308, allocations: 0 / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.09309, allocations: 3.984 kB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/0.09401, allocations: 0.6574 MB / 337.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.09403, allocations: 0 / 337.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.09435, allocations: 71.89 kB / 337.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.09437, allocations: 7.984 kB / 337.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.09439, allocations: 7.938 kB / 337.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.0944, allocations: 4 kB / 337.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.09441, allocations: 0 / 337.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.09507, allocations: 445.7 kB / 337.7 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.09513, allocations: 92.98 kB / 337.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.09516, allocations: 11.94 kB / 337.8 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.09531, allocations: 7.984 kB / 337.8 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.09542, allocations: 24.05 kB / 337.8 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.09544, allocations: 12 kB / 337.8 MB, free: 9.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.45e-05/0.09552, allocations: 115.2 kB / 337.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.09553, allocations: 0 / 337.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.09582, allocations: 63.94 kB / 338 MB, free: 9.094 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.0008931/0.09672, allocations: 0.973 MB / 339 MB, free: 8.086 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004844/0.09722, allocations: 207.8 kB / 339.2 MB, free: 7.883 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.09723, allocations: 192 / 339.2 MB, free: 7.883 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.09743, allocations: 120 kB / 339.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.09789, allocations: 39.92 kB / 339.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.1011, allocations: 2.76 MB / 342.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1014, allocations: 0.7522 MB / 342.8 MB, free: 4.078 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.443e-05/0.1015, allocations: 21.94 kB / 342.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1016, allocations: 79.41 kB / 342.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1016, allocations: 0 / 342.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.1219, allocations: 4.288 MB / 347.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.1221, allocations: 203.2 kB / 347.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.034, allocations: 0 / 347.4 MB, free: 15.43 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