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.001542/0.001542, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.91 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3058, allocations: 50.55 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004242/0.3101, allocations: 2.436 MB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3114, allocations: 0.6116 MB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3115, allocations: 7.938 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.3117, allocations: 39.58 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.3119, allocations: 79.31 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.3121, allocations: 67.81 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.3125, allocations: 290.7 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.3128, allocations: 110.9 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.3129, allocations: 111.6 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.3131, allocations: 123.5 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.3132, allocations: 24 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.3132, allocations: 24 kB / 412.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.3133, allocations: 55.83 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.3135, allocations: 135.3 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.3139, allocations: 293.8 kB / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3139, allocations: 0 / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.929e-06/0.3139, allocations: 0 / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3139, allocations: 3.938 kB / 413.2 MB, free: 13.05 MB / 334.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.0009154/0.3148, allocations: 0.5379 MB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3149, allocations: 12.03 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.037e-05/0.315, allocations: 62.72 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.315, allocations: 40.62 kB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.3154, allocations: 240.5 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.3155, allocations: 20.94 kB / 414.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.3155, allocations: 27.94 kB / 414.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.316, allocations: 224.9 kB / 414.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.3161, allocations: 3.953 kB / 414.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.3161, allocations: 16 kB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3161, allocations: 7.984 kB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.3165, allocations: 178.1 kB / 414.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.3178, allocations: 0.7502 MB / 415.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.3184, allocations: 229.5 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3186, allocations: 108.8 kB / 415.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3187, allocations: 4 kB / 415.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.3187, allocations: 42.56 kB / 415.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.3187, allocations: 4 kB / 415.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001902/0.3206, allocations: 0.9554 MB / 416.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.3207, allocations: 63.34 kB / 416.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.3209, allocations: 159.8 kB / 416.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3209, allocations: 29.7 kB / 416.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.321, allocations: 140.8 kB / 417 MB, free: 8.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.3211, allocations: 111 kB / 417.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3212, allocations: 53.7 kB / 417.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3214, allocations: 330.8 kB / 417.5 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.3216, allocations: 75.95 kB / 417.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.3218, allocations: 112.3 kB / 417.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.3223, allocations: 211.3 kB / 417.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3223, allocations: 0 / 417.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005004/0.3228, allocations: 249.5 kB / 418.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3228, allocations: 4 kB / 418.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3228, allocations: 4 kB / 418.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3228, allocations: 0 / 418.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.3231, allocations: 79.89 kB / 418.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3232, allocations: 4.094 kB / 418.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.3233, allocations: 19.92 kB / 418.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3233, allocations: 15.98 kB / 418.3 MB, free: 7.633 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.0001363/0.3235, allocations: 137.7 kB / 418.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.3235, allocations: 19.86 kB / 418.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.3236, allocations: 30.55 kB / 418.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.3236, allocations: 4 kB / 418.5 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3236, allocations: 3.938 kB / 418.5 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3236, allocations: 7.938 kB / 418.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3246, allocations: 0.6415 MB / 419.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3247, allocations: 0 / 419.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.325, allocations: 71.91 kB / 419.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.325, allocations: 4.062 kB / 419.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.325, allocations: 15.94 kB / 419.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.325, allocations: 3.984 kB / 419.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.325, allocations: 0 / 419.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.3258, allocations: 454.7 kB / 419.6 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.3259, allocations: 89.02 kB / 419.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.3259, allocations: 12 kB / 419.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.326, allocations: 11.98 kB / 419.8 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.3261, allocations: 19.97 kB / 419.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.3261, allocations: 8 kB / 419.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.3262, allocations: 115.2 kB / 419.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3262, allocations: 0 / 419.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.3265, allocations: 60 kB / 420 MB, free: 5.836 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.001048/0.3276, allocations: 0.9817 MB / 420.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.3281, allocations: 196.1 kB / 421.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3281, allocations: 4 kB / 421.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.3283, allocations: 103.8 kB / 421.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.3288, allocations: 48.53 kB / 421.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.3324, allocations: 2.68 MB / 424 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.3329, allocations: 0.7522 MB / 424.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.333, allocations: 21.94 kB / 424.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3331, allocations: 79.34 kB / 424.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of SimCode: time 2.695e-06/0.3331, allocations: 0 / 424.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/0.3715, allocations: 4.516 MB / 429.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.454, allocations: 4.594 kB / 429.3 MB, free: 12.39 MB / 350.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.1.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