Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001372/0.001372, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.001541/0.001541, allocations: 163.8 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0.5625 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.927e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002613/0.002643, allocations: 1.494 MB / 326.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.00489, allocations: 0.8447 MB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.00495, allocations: 1.312 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.005061, allocations: 12.16 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.005148, allocations: 19.09 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.005442, allocations: 57.64 kB / 327.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.005676, allocations: 130.6 kB / 327.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.005784, allocations: 25.2 kB / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.006387, allocations: 407 kB / 328 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.006544, allocations: 59.08 kB / 328.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.006592, allocations: 8.812 kB / 328.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.829e-05/0.00663, allocations: 15.12 kB / 328.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.006743, allocations: 61.38 kB / 328.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.006862, allocations: 59.3 kB / 328.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.007402, allocations: 353.9 kB / 328.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.007408, allocations: 1.062 kB / 328.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007409, allocations: 0 / 328.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.007416, allocations: 0 / 328.6 MB, free: 14.59 MB / 302.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.0009947/0.008411, allocations: 0.6561 MB / 329.2 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.008452, allocations: 10.31 kB / 329.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.008537, allocations: 38.42 kB / 329.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.008875, allocations: 217.3 kB / 329.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.008901, allocations: 9 kB / 329.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.008932, allocations: 7.75 kB / 329.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.009383, allocations: 240.1 kB / 329.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.009393, allocations: 192 / 329.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.009416, allocations: 4.094 kB / 329.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.009424, allocations: 6.188 kB / 329.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.009686, allocations: 174.7 kB / 329.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.01037, allocations: 390.4 kB / 330.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.01066, allocations: 191.5 kB / 330.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.01088, allocations: 186.6 kB / 330.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.0109, allocations: 5.031 kB / 330.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/0.01133, allocations: 325.6 kB / 331 MB, free: 12.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.01133, allocations: 3.938 kB / 331 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001073/0.0124, allocations: 0.6919 MB / 331.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.01254, allocations: 171.9 kB / 331.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007415/0.01328, allocations: 0.5136 MB / 332.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.01332, allocations: 33.17 kB / 332.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.01341, allocations: 101.9 kB / 332.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.01346, allocations: 30.66 kB / 332.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.01359, allocations: 78.33 kB / 332.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.01376, allocations: 326.3 kB / 332.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.01398, allocations: 175.8 kB / 333.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.01421, allocations: 196.7 kB / 333.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.01461, allocations: 349.8 kB / 333.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01462, allocations: 0 / 333.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007056/0.01532, allocations: 0.5035 MB / 334.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.01546, allocations: 126.1 kB / 334.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01546, allocations: 0 / 334.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.01548, allocations: 1.156 kB / 334.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.448e-05/0.0155, allocations: 5.078 kB / 334.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01551, allocations: 1.125 kB / 334.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.01566, allocations: 12.98 kB / 334.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.01573, allocations: 42.02 kB / 334.3 MB, free: 9.645 MB / 302.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.0004412/0.01617, allocations: 364.6 kB / 334.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.01623, allocations: 47.73 kB / 334.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.01636, allocations: 67.64 kB / 334.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01637, allocations: 5.156 kB / 334.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.01637, allocations: 0 / 334.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01638, allocations: 0 / 334.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.01762, allocations: 0.8608 MB / 335.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01762, allocations: 0 / 335.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.01762, allocations: 0 / 335.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01762, allocations: 1.125 kB / 335.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.01766, allocations: 17.7 kB / 335.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01766, allocations: 5.219 kB / 335.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01766, allocations: 4 kB / 335.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008888/0.01855, allocations: 0.6533 MB / 336.4 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.01894, allocations: 201 kB / 336.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.019, allocations: 11.34 kB / 336.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.01915, allocations: 13.2 kB / 336.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.01929, allocations: 26.06 kB / 336.6 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.01935, allocations: 45.42 kB / 336.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005158/0.01987, allocations: 386.8 kB / 337 MB, free: 7.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01987, allocations: 0 / 337 MB, free: 7.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.02017, allocations: 45.81 kB / 337.1 MB, free: 7.578 MB / 302.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.000178/0.02035, allocations: 127.1 kB / 337.2 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007408/0.02109, allocations: 0.6049 MB / 337.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02109, allocations: 1.219 kB / 337.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.02152, allocations: 422 kB / 338.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.02222, allocations: 125.1 kB / 338.3 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.0236, allocations: 0.783 MB / 339.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.02389, allocations: 202 kB / 339.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.288e-05/0.02396, allocations: 8.812 kB / 339.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.02398, allocations: 12.72 kB / 339.3 MB, free: 5.637 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.02398, allocations: 3.938 kB / 339.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of Templates: time 0.009317/0.0333, allocations: 4.745 MB / 344.1 MB, free: 1.164 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.423574697226286]