Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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.001453/0.001453, allocations: 84.88 kB / 22 MB, free: 4.754 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.001545/0.001545, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.345/1.345, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 178] 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.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") [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.001869/0.001869, allocations: 58.73 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2159, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002782/0.2187, allocations: 1.471 MB / 350 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.2207, allocations: 0.8521 MB / 350.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.2207, allocations: 0 / 350.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.849e-05/0.2208, allocations: 11.92 kB / 350.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.567e-05/0.2209, allocations: 23.8 kB / 350.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.2212, allocations: 51.88 kB / 350.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.2214, allocations: 135.8 kB / 351 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.2215, allocations: 11.98 kB / 351.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.222, allocations: 395.2 kB / 351.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2221, allocations: 67.75 kB / 351.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.2221, allocations: 8 kB / 351.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.257e-05/0.2222, allocations: 8 kB / 351.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.2223, allocations: 59.77 kB / 351.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.2224, allocations: 87.3 kB / 351.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.2228, allocations: 364.8 kB / 352 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2228, allocations: 0 / 352 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2228, allocations: 7.938 kB / 352 MB, free: 11.99 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.2228, allocations: 0 / 352 MB, free: 11.99 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000792/0.2236, allocations: 0.6552 MB / 352.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2236, allocations: 11.98 kB / 352.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.2237, allocations: 44.7 kB / 352.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.224, allocations: 216.9 kB / 353 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.224, allocations: 8.375 kB / 353 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.224, allocations: 12.31 kB / 353 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.2244, allocations: 240.7 kB / 353.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2244, allocations: 0 / 353.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.2244, allocations: 4 kB / 353.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2244, allocations: 11.98 kB / 353.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.2247, allocations: 174.8 kB / 353.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006537/0.2253, allocations: 400 kB / 353.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.2256, allocations: 189.3 kB / 354 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.2258, allocations: 175.7 kB / 354.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.2258, allocations: 8 kB / 354.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.2262, allocations: 321.4 kB / 354.5 MB, free: 9.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2262, allocations: 0 / 354.5 MB, free: 9.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009945/0.2272, allocations: 0.7049 MB / 355.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.2274, allocations: 166.2 kB / 355.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/0.228, allocations: 0.5129 MB / 355.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.2281, allocations: 33.7 kB / 355.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.2281, allocations: 97.12 kB / 356 MB, free: 7.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.2282, allocations: 31.75 kB / 356 MB, free: 7.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2283, allocations: 77.56 kB / 356.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2284, allocations: 330.8 kB / 356.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.2286, allocations: 174.8 kB / 356.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.2289, allocations: 192.5 kB / 356.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.2292, allocations: 355.3 kB / 357.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2293, allocations: 0 / 357.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006351/0.2299, allocations: 0.4952 MB / 357.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.23, allocations: 122.8 kB / 357.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.23, allocations: 0 / 357.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.23, allocations: 0 / 357.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.902e-05/0.23, allocations: 0 / 357.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.23, allocations: 4 kB / 357.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2302, allocations: 15.98 kB / 357.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.2302, allocations: 40.05 kB / 357.8 MB, free: 5.617 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.000385/0.2306, allocations: 378.4 kB / 358.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.2307, allocations: 43.75 kB / 358.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.2308, allocations: 63.09 kB / 358.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2308, allocations: 0 / 358.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2308, allocations: 0 / 358.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2308, allocations: 0 / 358.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.2319, allocations: 0.8589 MB / 359.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2319, allocations: 4.062 kB / 359.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-06/0.2319, allocations: 7.922 kB / 359.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2319, allocations: 0 / 359.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.2319, allocations: 19.94 kB / 359.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2319, allocations: 0 / 359.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2319, allocations: 0 / 359.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/0.2327, allocations: 0.6495 MB / 359.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.2331, allocations: 205.4 kB / 360 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.2331, allocations: 12 kB / 360 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2333, allocations: 11.98 kB / 360 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.2334, allocations: 23.97 kB / 360 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/0.2334, allocations: 47.92 kB / 360.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005056/0.2339, allocations: 386.9 kB / 360.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2339, allocations: 0 / 360.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.2342, allocations: 47.94 kB / 360.5 MB, free: 2.691 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0001355/0.2344, allocations: 122.9 kB / 360.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006981/0.2351, allocations: 0.6124 MB / 361.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2351, allocations: 0 / 361.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.2355, allocations: 424.4 kB / 361.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/0.2361, allocations: 129.1 kB / 361.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.2373, allocations: 0.7886 MB / 362.6 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2375, allocations: 190.3 kB / 362.8 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.2376, allocations: 12.7 kB / 362.8 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.2376, allocations: 12.5 kB / 362.8 MB, free: 168 kB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2376, allocations: 0 / 362.8 MB, free: 168 kB / 318.1 MB Notification: Performance of Templates: time 0.008614/0.2462, allocations: 4.785 MB / 367.6 MB, free: 11.37 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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.31329730397556]