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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 82.7 kB / 22 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 158.6 MB / 187 MB, free: 6.48 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 55.92 kB / 299.4 MB, free: 6.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2046, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003919/0.2086, allocations: 2.289 MB / 350.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2096, allocations: 0.5967 MB / 351.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.2097, allocations: 7.938 kB / 351.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.2098, allocations: 39.59 kB / 351.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.21, allocations: 79.31 kB / 351.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.2102, allocations: 63.92 kB / 351.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.2105, allocations: 294.6 kB / 351.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2107, allocations: 79.14 kB / 351.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2109, allocations: 119.6 kB / 352.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.211, allocations: 107.5 kB / 352.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.2111, allocations: 24 kB / 352.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.2111, allocations: 27.94 kB / 352.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.2112, allocations: 47.84 kB / 352.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.2113, allocations: 115.5 kB / 352.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.2117, allocations: 293.2 kB / 352.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2117, allocations: 8 kB / 352.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2117, allocations: 7.875 kB / 352.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2117, allocations: 0 / 352.7 MB, free: 11.32 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.0008123/0.2125, allocations: 477.7 kB / 353.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2125, allocations: 11.98 kB / 353.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.2126, allocations: 36.8 kB / 353.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.2129, allocations: 182.7 kB / 353.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2129, allocations: 21.03 kB / 353.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.213, allocations: 40.02 kB / 353.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.2134, allocations: 222.1 kB / 353.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.2134, allocations: 4 kB / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.2135, allocations: 11.98 kB / 353.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.2135, allocations: 8 kB / 353.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.2139, allocations: 174.5 kB / 353.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.215, allocations: 0.59 MB / 354.4 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.2155, allocations: 194.6 kB / 354.6 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.2157, allocations: 100.8 kB / 354.7 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.2158, allocations: 11.88 kB / 354.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2158, allocations: 38.55 kB / 354.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.2158, allocations: 4 kB / 354.8 MB, free: 9.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001752/0.2176, allocations: 0.8126 MB / 355.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2176, allocations: 51.41 kB / 355.6 MB, free: 8.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.2177, allocations: 150.1 kB / 355.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.2178, allocations: 33.7 kB / 355.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2179, allocations: 148.7 kB / 356 MB, free: 7.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.2179, allocations: 107.1 kB / 356.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.218, allocations: 53.56 kB / 356.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2182, allocations: 330.8 kB / 356.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.2184, allocations: 75.95 kB / 356.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.2186, allocations: 115.2 kB / 356.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.219, allocations: 203.3 kB / 356.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.219, allocations: 0 / 356.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005438/0.2196, allocations: 265.4 kB / 357.1 MB, free: 6.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2196, allocations: 8 kB / 357.1 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2196, allocations: 3.938 kB / 357.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2196, allocations: 0 / 357.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.2199, allocations: 83.97 kB / 357.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2199, allocations: 4 kB / 357.2 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.2201, allocations: 11.98 kB / 357.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.2201, allocations: 12 kB / 357.2 MB, free: 6.555 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 0.00013/0.2202, allocations: 137.7 kB / 357.3 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.2203, allocations: 23.84 kB / 357.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.2203, allocations: 21.97 kB / 357.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2203, allocations: 4 kB / 357.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2203, allocations: 3.984 kB / 357.4 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2203, allocations: 4 kB / 357.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/0.2213, allocations: 0.5547 MB / 358 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2213, allocations: 4 kB / 358 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.2216, allocations: 75.89 kB / 358 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2216, allocations: 0 / 358 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2217, allocations: 8 kB / 358 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2217, allocations: 0 / 358 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2217, allocations: 12.06 kB / 358.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/0.2224, allocations: 442.4 kB / 358.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.2225, allocations: 19.89 kB / 358.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.2225, allocations: 4.062 kB / 358.5 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2226, allocations: 12 kB / 358.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.2227, allocations: 19.89 kB / 358.5 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.2227, allocations: 12 kB / 358.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.425e-05/0.2228, allocations: 107.3 kB / 358.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2228, allocations: 0 / 358.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.2231, allocations: 60 kB / 358.7 MB, free: 4.973 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.000114/0.2232, allocations: 103.2 kB / 358.8 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.2237, allocations: 187.8 kB / 359 MB, free: 4.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2237, allocations: 0 / 359 MB, free: 4.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.2239, allocations: 109.2 kB / 359.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.2243, allocations: 39.91 kB / 359.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.2257, allocations: 0.812 MB / 360 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.2259, allocations: 150.4 kB / 360.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.993e-05/0.2259, allocations: 17.95 kB / 360.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.461e-05/0.226, allocations: 20.5 kB / 360.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.226, allocations: 0 / 360.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of Templates: time 0.005741/0.2317, allocations: 2.091 MB / 362.2 MB, free: 1.387 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1327681000111625]