Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 173.3 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.044e-05, allocations: 2.312 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.005524/0.005554, allocations: 1.518 MB / 269.6 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.007319, allocations: 0.8302 MB / 270.4 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.007395, allocations: 0 / 270.4 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.0075, allocations: 15.86 kB / 270.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.538e-05/0.007585, allocations: 15.86 kB / 270.5 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.007877, allocations: 55.81 kB / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.008057, allocations: 143.7 kB / 270.6 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.008174, allocations: 11.94 kB / 270.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.008548, allocations: 415.2 kB / 271.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.008657, allocations: 59.81 kB / 271.1 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.008688, allocations: 8 kB / 271.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.008711, allocations: 8 kB / 271.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.008784, allocations: 75.7 kB / 271.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.008858, allocations: 51.73 kB / 271.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.009261, allocations: 259.1 kB / 271.5 MB, free: 3.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.009264, allocations: 0 / 271.5 MB, free: 3.254 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009265, allocations: 0 / 271.5 MB, free: 3.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.009271, allocations: 4 kB / 271.5 MB, free: 3.25 MB / 250.7 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.0006495/0.009921, allocations: 0.7824 MB / 272.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.009958, allocations: 12.92 kB / 272.3 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.01004, allocations: 44.7 kB / 272.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.01025, allocations: 222.8 kB / 272.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.01028, allocations: 4.375 kB / 272.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.0103, allocations: 8.375 kB / 272.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.0106, allocations: 241.7 kB / 272.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.0106, allocations: 192 / 272.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.01062, allocations: 4.375 kB / 272.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.01063, allocations: 15.92 kB / 272.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.01074, allocations: 162.7 kB / 273 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.0113, allocations: 499.4 kB / 273.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.01145, allocations: 193.8 kB / 273.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.01156, allocations: 174.5 kB / 273.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.01157, allocations: 3.938 kB / 273.9 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.01178, allocations: 315.2 kB / 274.2 MB, free: 316 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.01178, allocations: 4 kB / 274.2 MB, free: 312 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006046/0.01239, allocations: 0.6736 MB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.01245, allocations: 170.2 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005785/0.01303, allocations: 0.6272 MB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.01306, allocations: 25.7 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.01312, allocations: 155.8 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.01315, allocations: 23.8 kB / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-05/0.01324, allocations: 91.27 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01336, allocations: 0.4961 MB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.01347, allocations: 162.7 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.01359, allocations: 190.1 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.01378, allocations: 332.3 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01378, allocations: 0 / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003761/0.01416, allocations: 487 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.01423, allocations: 122.8 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01423, allocations: 0 / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.01425, allocations: 7.984 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.989e-05/0.01427, allocations: 0 / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01427, allocations: 4.031 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.01438, allocations: 16.12 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.01442, allocations: 40 kB / 277.7 MB, free: 12.36 MB / 266.7 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.0002351/0.01465, allocations: 389.2 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.0147, allocations: 55.7 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.01492, allocations: 59.06 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-06/0.01492, allocations: 3.984 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01493, allocations: 0 / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01493, allocations: 4 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.01564, allocations: 0.9439 MB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01565, allocations: 4 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.01565, allocations: 7.938 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01566, allocations: 0 / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.01567, allocations: 8 kB / 279.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01568, allocations: 3.984 kB / 279.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01568, allocations: 0 / 279.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.01612, allocations: 0.6886 MB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.01634, allocations: 185.3 kB / 280.1 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.01638, allocations: 12 kB / 280.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.01647, allocations: 11.98 kB / 280.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.01655, allocations: 27.97 kB / 280.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.01659, allocations: 40 kB / 280.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003553/0.01694, allocations: 430.7 kB / 280.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01694, allocations: 0 / 280.6 MB, free: 9.312 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.01715, allocations: 43.95 kB / 280.6 MB, free: 9.27 MB / 266.7 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.0001079/0.01726, allocations: 119 kB / 280.8 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.01765, allocations: 0.5961 MB / 281.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01765, allocations: 0 / 281.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.01786, allocations: 431.5 kB / 281.8 MB, free: 7.953 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.01827, allocations: 131.2 kB / 281.9 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008526/0.01912, allocations: 0.7486 MB / 282.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.822e-05/0.0192, allocations: 103.2 kB / 282.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.136e-05/0.01924, allocations: 4.734 kB / 282.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.01926, allocations: 12.5 kB / 282.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01927, allocations: 0 / 282.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of Templates: time 0.00623/0.0255, allocations: 4.79 MB / 287.6 MB, free: 2.176 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9666922949254513]