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.001634/0.001634, allocations: 112.9 kB / 17.06 MB, free: 5.945 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.001875/0.001875, allocations: 200 kB / 18.01 MB, free: 5.031 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.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 14.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 43.92 kB / 350.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2689, allocations: 49.44 MB / 400.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004248/0.2731, allocations: 2.417 MB / 402.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2744, allocations: 0.5843 MB / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.2747, allocations: 4 kB / 403.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.2749, allocations: 35.59 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.2752, allocations: 87.25 kB / 403.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.2754, allocations: 59.92 kB / 403.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.2758, allocations: 298.6 kB / 403.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.2761, allocations: 106.9 kB / 403.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.2763, allocations: 103.6 kB / 403.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.2765, allocations: 135.4 kB / 404 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.2765, allocations: 28 kB / 404.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.2766, allocations: 24 kB / 404.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.2767, allocations: 43.84 kB / 404.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.2768, allocations: 143.3 kB / 404.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.2772, allocations: 293.8 kB / 404.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2772, allocations: 0 / 404.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2772, allocations: 0 / 404.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.2773, allocations: 0 / 404.6 MB, free: 4.434 MB / 318.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.000931/0.2782, allocations: 0.5495 MB / 405.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2782, allocations: 8.031 kB / 405.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.333e-05/0.2783, allocations: 58.72 kB / 405.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.2784, allocations: 36.75 kB / 405.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.2787, allocations: 238 kB / 405.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2788, allocations: 20.94 kB / 405.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/0.2788, allocations: 27.94 kB / 405.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.2793, allocations: 236.8 kB / 405.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.2794, allocations: 0 / 405.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.2794, allocations: 12 kB / 405.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2794, allocations: 4 kB / 405.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.2798, allocations: 182.1 kB / 405.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.2812, allocations: 0.7618 MB / 406.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.2817, allocations: 214.5 kB / 406.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.2819, allocations: 116.8 kB / 407 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2819, allocations: 4 kB / 407 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.282, allocations: 38.5 kB / 407 MB, free: 1.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/0.282, allocations: 0 / 407 MB, free: 1.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001797/0.2838, allocations: 0.9664 MB / 408 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.2838, allocations: 55.41 kB / 408.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.284, allocations: 154.7 kB / 408.2 MB, free: 500 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.284, allocations: 29.7 kB / 408.2 MB, free: 464 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.2841, allocations: 140.8 kB / 408.4 MB, free: 320 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.617e-05/0.2842, allocations: 111 kB / 408.5 MB, free: 208 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.2843, allocations: 49.7 kB / 408.5 MB, free: 152 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2845, allocations: 338.8 kB / 408.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.2847, allocations: 79.89 kB / 408.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.2849, allocations: 115.1 kB / 409.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.2853, allocations: 207.2 kB / 409.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2853, allocations: 4 kB / 409.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000503/0.2858, allocations: 261.4 kB / 409.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2859, allocations: 4 kB / 409.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2859, allocations: 0 / 409.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2859, allocations: 4.094 kB / 409.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.2862, allocations: 79.89 kB / 409.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2862, allocations: 0 / 409.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2863, allocations: 15.98 kB / 409.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2864, allocations: 8 kB / 409.6 MB, free: 15.02 MB / 334.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.0001361/0.2865, allocations: 145.7 kB / 409.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.2866, allocations: 15.91 kB / 409.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.2866, allocations: 26.56 kB / 409.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2866, allocations: 8 kB / 409.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2867, allocations: 0 / 409.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2867, allocations: 3.984 kB / 409.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2877, allocations: 0.6507 MB / 410.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2877, allocations: 0 / 410.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.288, allocations: 75.95 kB / 410.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.2881, allocations: 4 kB / 410.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2881, allocations: 7.938 kB / 410.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.2881, allocations: 4 kB / 410.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2881, allocations: 0 / 410.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007356/0.2888, allocations: 451.8 kB / 411 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.2889, allocations: 101 kB / 411.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.289, allocations: 12.06 kB / 411.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.2891, allocations: 11.98 kB / 411.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.2892, allocations: 15.98 kB / 411.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.2892, allocations: 7.984 kB / 411.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.723e-05/0.2893, allocations: 119.5 kB / 411.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2893, allocations: 4 kB / 411.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.2896, allocations: 63.98 kB / 411.3 MB, free: 13.2 MB / 334.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.001057/0.2907, allocations: 0.9735 MB / 412.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.2912, allocations: 203.8 kB / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2912, allocations: 0 / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.2914, allocations: 111.9 kB / 412.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2918, allocations: 40.28 kB / 412.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.2954, allocations: 2.662 MB / 415.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.2958, allocations: 0.7522 MB / 416.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.351e-05/0.2959, allocations: 25.92 kB / 416.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.296, allocations: 71.42 kB / 416.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.296, allocations: 0 / 416.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.3248, allocations: 4.527 MB / 420.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.07, allocations: 7.266 kB / 420.7 MB, free: 3.773 MB / 334.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