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.001227/0.001227, allocations: 113.6 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.4 MB / 246.4 MB, free: 9.121 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 67.73 kB / 306.6 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07385/0.07496, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003216/0.07821, allocations: 2.465 MB / 359.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.07917, allocations: 0.6115 MB / 360.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.07932, allocations: 11.94 kB / 360.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.07947, allocations: 23.78 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.07963, allocations: 71.45 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.07979, allocations: 55.88 kB / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.08009, allocations: 294.7 kB / 360.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.08027, allocations: 114.9 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.08041, allocations: 107.6 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.08054, allocations: 123.5 kB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.08058, allocations: 24 kB / 361 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-05/0.08063, allocations: 24 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.08068, allocations: 55.83 kB / 361.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.08079, allocations: 135.3 kB / 361.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.08104, allocations: 283.2 kB / 361.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.08105, allocations: 4 kB / 361.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.08105, allocations: 0 / 361.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.08107, allocations: 4 kB / 361.5 MB, free: 9.707 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.0006943/0.08176, allocations: 0.5349 MB / 362 MB, free: 9.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.0818, allocations: 8.031 kB / 362 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.08186, allocations: 62.72 kB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.08192, allocations: 24.66 kB / 362.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.08215, allocations: 245.2 kB / 362.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.08218, allocations: 20.94 kB / 362.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.08223, allocations: 31.94 kB / 362.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.08265, allocations: 228.8 kB / 362.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.08267, allocations: 7.844 kB / 362.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.0827, allocations: 12 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.08271, allocations: 11.98 kB / 362.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.08308, allocations: 174.1 kB / 362.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.08412, allocations: 0.7539 MB / 363.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.08455, allocations: 222.4 kB / 363.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.08477, allocations: 116.8 kB / 363.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.08479, allocations: 0 / 363.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.08482, allocations: 46.5 kB / 363.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.132e-06/0.08483, allocations: 0 / 363.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001499/0.08633, allocations: 0.9566 MB / 364.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.08638, allocations: 63.34 kB / 365 MB, free: 5.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.0865, allocations: 155.8 kB / 365.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.08653, allocations: 29.7 kB / 365.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.0866, allocations: 140.6 kB / 365.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.08668, allocations: 102.5 kB / 365.4 MB, free: 5.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.08675, allocations: 49.56 kB / 365.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.08685, allocations: 334.8 kB / 365.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.08703, allocations: 83.89 kB / 365.8 MB, free: 5.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.08721, allocations: 107.4 kB / 365.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.08756, allocations: 203.3 kB / 366.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.08757, allocations: 0 / 366.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004336/0.088, allocations: 257.4 kB / 366.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.08803, allocations: 4 kB / 366.4 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.08804, allocations: 4 kB / 366.4 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.08805, allocations: 0 / 366.4 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.08833, allocations: 79.98 kB / 366.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.08834, allocations: 0 / 366.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.08846, allocations: 12 kB / 366.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.08848, allocations: 12 kB / 366.5 MB, free: 4.324 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.0001043/0.08859, allocations: 149.6 kB / 366.6 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.08864, allocations: 19.81 kB / 366.7 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.118e-05/0.08869, allocations: 22.56 kB / 366.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.08871, allocations: 11.94 kB / 366.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.08872, allocations: 0 / 366.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.08873, allocations: 3.984 kB / 366.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008308/0.08956, allocations: 0.6481 MB / 367.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.08958, allocations: 4.062 kB / 367.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.08989, allocations: 75.89 kB / 367.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.0899, allocations: 0 / 367.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.08992, allocations: 11.94 kB / 367.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.08993, allocations: 0 / 367.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.08993, allocations: 0 / 367.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.09054, allocations: 456 kB / 367.9 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.0906, allocations: 88.92 kB / 368 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.09064, allocations: 12 kB / 368 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.09079, allocations: 11.98 kB / 368 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.09084, allocations: 15.98 kB / 368 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.09085, allocations: 8 kB / 368 MB, free: 2.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.175e-05/0.09093, allocations: 119.2 kB / 368.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.09094, allocations: 0 / 368.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.09122, allocations: 60 kB / 368.2 MB, free: 2.52 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.0008264/0.09205, allocations: 0.9846 MB / 369.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.09249, allocations: 213.3 kB / 369.4 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0925, allocations: 3.938 kB / 369.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.09268, allocations: 104.2 kB / 369.5 MB, free: 1.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.09308, allocations: 58.64 kB / 369.6 MB, free: 1.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1154/0.2085, allocations: 2.739 MB / 372.3 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.2087, allocations: 0.7516 MB / 373 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.776e-05/0.2088, allocations: 19.61 kB / 373.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.2089, allocations: 77.39 kB / 373.1 MB, free: 18.37 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2089, allocations: 0 / 373.1 MB, free: 18.37 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.922/3.131, allocations: 4.293 MB / 377.4 MB, free: 18.03 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/3.132, allocations: 204.6 kB / 377.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/5.534, allocations: 8.875 kB / 377.6 MB, free: 17.77 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