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.001378/0.001378, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001376/0.001376, allocations: 187 kB / 18.66 MB, free: 4.387 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.36/1.36, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001888/0.001888, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09216, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004057/0.09625, allocations: 2.423 MB / 377.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.0975, allocations: 0.624 MB / 377.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.09773, allocations: 7.938 kB / 377.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.09795, allocations: 39.58 kB / 377.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.09818, allocations: 83.31 kB / 377.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.09839, allocations: 59.92 kB / 377.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.09877, allocations: 290.6 kB / 378.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.099, allocations: 110.9 kB / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.09918, allocations: 111.6 kB / 378.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.09936, allocations: 123.5 kB / 378.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.09941, allocations: 24 kB / 378.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.043e-05/0.09947, allocations: 24 kB / 378.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.09953, allocations: 59.77 kB / 378.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.09967, allocations: 127.4 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.1, allocations: 298.7 kB / 379 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1, allocations: 0 / 379 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1, allocations: 3.984 kB / 379 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1001, allocations: 0 / 379 MB, free: 0.6719 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.0008753/0.1009, allocations: 0.5495 MB / 379.6 MB, free: 76 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.101, allocations: 8.031 kB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1665/0.2675, allocations: 59.94 kB / 379.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.2677, allocations: 26.44 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.2681, allocations: 235.2 kB / 379.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2682, allocations: 19.12 kB / 379.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.2682, allocations: 34.48 kB / 379.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.2687, allocations: 228.4 kB / 380.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.2687, allocations: 4.688 kB / 380.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.2688, allocations: 8.875 kB / 380.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2688, allocations: 6.688 kB / 380.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.2692, allocations: 176.8 kB / 380.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.2703, allocations: 0.76 MB / 381.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.2707, allocations: 220.4 kB / 381.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.271, allocations: 115.9 kB / 381.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.271, allocations: 3.625 kB / 381.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.271, allocations: 37.45 kB / 381.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/0.271, allocations: 0 / 381.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001686/0.2727, allocations: 0.9627 MB / 382.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.2727, allocations: 54.66 kB / 382.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2729, allocations: 153.8 kB / 382.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2729, allocations: 32.05 kB / 382.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.273, allocations: 148 kB / 382.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.2731, allocations: 112 kB / 382.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.2731, allocations: 53.48 kB / 383 MB, free: 11.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.2732, allocations: 336.1 kB / 383.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.2734, allocations: 73.03 kB / 383.4 MB, free: 11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.2735, allocations: 115.5 kB / 383.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.2739, allocations: 197.8 kB / 383.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2739, allocations: 0 / 383.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004375/0.2744, allocations: 274.5 kB / 384 MB, free: 10.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2744, allocations: 5.562 kB / 384 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2744, allocations: 1.906 kB / 384 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.2744, allocations: 3.031 kB / 384 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.2747, allocations: 76.83 kB / 384 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.2747, allocations: 3.281 kB / 384 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2748, allocations: 13.03 kB / 384.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.2749, allocations: 9.906 kB / 384.1 MB, free: 10.71 MB / 318.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 9.467e-05/0.275, allocations: 140.4 kB / 384.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.275, allocations: 21.25 kB / 384.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.2751, allocations: 29.56 kB / 384.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2751, allocations: 2.406 kB / 384.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2751, allocations: 1.188 kB / 384.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2751, allocations: 6.109 kB / 384.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/0.276, allocations: 0.6539 MB / 384.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.276, allocations: 0.7031 kB / 384.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.2763, allocations: 77.67 kB / 385 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2763, allocations: 1.812 kB / 385 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2763, allocations: 12.19 kB / 385 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2763, allocations: 6.234 kB / 385 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2763, allocations: 0 / 385 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.277, allocations: 452.7 kB / 385.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.277, allocations: 91.12 kB / 385.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.277, allocations: 6.672 kB / 385.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.2772, allocations: 17.28 kB / 385.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.2772, allocations: 12.69 kB / 385.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.2773, allocations: 10.62 kB / 385.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.392e-05/0.2773, allocations: 117.3 kB / 385.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2773, allocations: 0 / 385.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.2776, allocations: 57.69 kB / 385.8 MB, free: 9.586 MB / 318.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.0007523/0.2784, allocations: 0.9828 MB / 386.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.2788, allocations: 206.9 kB / 387 MB, free: 8.723 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2788, allocations: 0 / 387 MB, free: 8.723 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.279, allocations: 108.3 kB / 387.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.2794, allocations: 34.7 kB / 387.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.2822, allocations: 2.663 MB / 389.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.2824, allocations: 0.7516 MB / 390.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.017e-05/0.2825, allocations: 25.39 kB / 390.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.2826, allocations: 75.47 kB / 390.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2826, allocations: 0 / 390.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.3109, allocations: 4.545 MB / 395.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.107, allocations: 5.219 kB / 395.2 MB, free: 5.191 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches