Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008155/0.0008155, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009665/0.0009664, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002021/0.0002022, allocations: 4 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07625/0.07647, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00219/0.07868, allocations: 2.107 MB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.07962, allocations: 0.6077 MB / 362.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.07976, allocations: 11.94 kB / 362.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.07988, allocations: 27.78 kB / 362.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.08004, allocations: 67.45 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.0802, allocations: 51.95 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.08046, allocations: 286.6 kB / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.08063, allocations: 95.47 kB / 362.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.08075, allocations: 91.64 kB / 362.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.08088, allocations: 115.4 kB / 362.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.08092, allocations: 12 kB / 362.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.08095, allocations: 16 kB / 362.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.081, allocations: 35.84 kB / 362.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.08111, allocations: 145 kB / 363 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.08134, allocations: 271.2 kB / 363.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.08135, allocations: 0 / 363.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08135, allocations: 0 / 363.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.08137, allocations: 4 kB / 363.3 MB, free: 9.246 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.0006264/0.082, allocations: 0.5031 MB / 363.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.08204, allocations: 8.031 kB / 363.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.0821, allocations: 66.72 kB / 363.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.08215, allocations: 28.66 kB / 363.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.08236, allocations: 244 kB / 364.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.08239, allocations: 16.94 kB / 364.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.08244, allocations: 31.94 kB / 364.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.08285, allocations: 232.8 kB / 364.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.08288, allocations: 3.906 kB / 364.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.0829, allocations: 11.98 kB / 364.4 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.08291, allocations: 12 kB / 364.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.0833, allocations: 186.1 kB / 364.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.08433, allocations: 0.7695 MB / 365.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.08476, allocations: 225.8 kB / 365.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.08498, allocations: 127.2 kB / 365.7 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.08501, allocations: 7.938 kB / 365.7 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.08503, allocations: 38.55 kB / 365.8 MB, free: 6.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.08504, allocations: 3.938 kB / 365.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001527/0.08657, allocations: 0.984 MB / 366.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.08661, allocations: 59.39 kB / 366.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.08674, allocations: 156.5 kB / 367 MB, free: 5.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.08677, allocations: 29.7 kB / 367 MB, free: 5.242 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.08684, allocations: 144.6 kB / 367.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.08691, allocations: 94.47 kB / 367.2 MB, free: 5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.08696, allocations: 33.7 kB / 367.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.08706, allocations: 338.8 kB / 367.6 MB, free: 4.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.08724, allocations: 79.83 kB / 367.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.08743, allocations: 123.3 kB / 367.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.08779, allocations: 207.4 kB / 368 MB, free: 4.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.0878, allocations: 3.938 kB / 368 MB, free: 4.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004387/0.08825, allocations: 269.4 kB / 368.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.08827, allocations: 4 kB / 368.3 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.08828, allocations: 4.094 kB / 368.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.0883, allocations: 4 kB / 368.3 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.08856, allocations: 71.91 kB / 368.3 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.08858, allocations: 11.97 kB / 368.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.0887, allocations: 16 kB / 368.4 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.08873, allocations: 8 kB / 368.4 MB, free: 3.805 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.0001065/0.08884, allocations: 149.6 kB / 368.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.08888, allocations: 19.8 kB / 368.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/0.08894, allocations: 26.56 kB / 368.6 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.08895, allocations: 4 kB / 368.6 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.08896, allocations: 0 / 368.6 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.08897, allocations: 0 / 368.6 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/0.08981, allocations: 0.6677 MB / 369.2 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.08982, allocations: 0 / 369.2 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.09013, allocations: 79.89 kB / 369.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.09014, allocations: 0 / 369.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.09017, allocations: 12 kB / 369.3 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.09018, allocations: 3.938 kB / 369.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.09018, allocations: 4 kB / 369.3 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.09081, allocations: 463.4 kB / 369.8 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.09087, allocations: 92.91 kB / 369.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.0909, allocations: 12 kB / 369.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.09105, allocations: 15.94 kB / 369.9 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.0911, allocations: 23.91 kB / 369.9 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.09112, allocations: 8 kB / 369.9 MB, free: 2.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.203e-05/0.0912, allocations: 115.2 kB / 370 MB, free: 2.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0912, allocations: 0 / 370 MB, free: 2.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.09148, allocations: 56 kB / 370.1 MB, free: 1.965 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.0008238/0.09231, allocations: 1.001 MB / 371.1 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.09271, allocations: 216.1 kB / 371.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09272, allocations: 0 / 371.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.09291, allocations: 112.2 kB / 371.4 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.0933, allocations: 39.91 kB / 371.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1332/0.2266, allocations: 2.873 MB / 374.3 MB, free: 17.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.2267, allocations: 0.7534 MB / 375.1 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.27e-05/0.2268, allocations: 20.62 kB / 375.1 MB, free: 17.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.2269, allocations: 78.02 kB / 375.2 MB, free: 17.26 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2269, allocations: 0 / 375.2 MB, free: 17.26 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.2402, allocations: 4.104 MB / 379.3 MB, free: 17 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.2404, allocations: 209.4 kB / 379.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.9, allocations: 4.875 kB / 379.5 MB, free: 16.74 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches