Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 109.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002582/0.2343, allocations: 1.533 MB / 411.5 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2361, allocations: 0.881 MB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.2362, allocations: 7.938 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.223e-05/0.2363, allocations: 7.922 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.908e-05/0.2364, allocations: 15.88 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.2366, allocations: 51.88 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.2368, allocations: 143.7 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.237, allocations: 23.98 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.2374, allocations: 391.2 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.2375, allocations: 63.75 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.2376, allocations: 12 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.2376, allocations: 8 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-05/0.2377, allocations: 67.7 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2378, allocations: 111.2 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.2381, allocations: 354.7 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2381, allocations: 4 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2381, allocations: 0 / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2381, allocations: 0 / 413.6 MB, free: 13.93 MB / 334.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.0007039/0.2389, allocations: 0.7316 MB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2389, allocations: 8.031 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.239, allocations: 32.56 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.2393, allocations: 274.3 kB / 414.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.2393, allocations: 4.375 kB / 414.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.2393, allocations: 12.36 kB / 414.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.2396, allocations: 129.8 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2396, allocations: 0 / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.2397, allocations: 8 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2397, allocations: 11.94 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.2398, allocations: 51.97 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.2405, allocations: 464.5 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.2406, allocations: 94.48 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.2408, allocations: 80.89 kB / 415.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.2408, allocations: 8 kB / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.2411, allocations: 198.7 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.2412, allocations: 0 / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007782/0.2419, allocations: 471.5 kB / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.242, allocations: 162.2 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.2427, allocations: 0.5169 MB / 416.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2427, allocations: 29.7 kB / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.2428, allocations: 101 kB / 416.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.2428, allocations: 31.69 kB / 417 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.2429, allocations: 81.42 kB / 417 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.243, allocations: 326.8 kB / 417.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.2432, allocations: 51.97 kB / 417.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2433, allocations: 85.55 kB / 417.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.2437, allocations: 339.3 kB / 417.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2437, allocations: 0 / 417.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005273/0.2442, allocations: 376.4 kB / 418.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.643e-05/0.2443, allocations: 130.7 kB / 418.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2443, allocations: 0 / 418.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2443, allocations: 0 / 418.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-05/0.2443, allocations: 4 kB / 418.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2444, allocations: 0 / 418.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2445, allocations: 11.91 kB / 418.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.2446, allocations: 43.98 kB / 418.4 MB, free: 8.711 MB / 334.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.0003379/0.2449, allocations: 370.2 kB / 418.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.245, allocations: 35.62 kB / 418.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.2451, allocations: 63.14 kB / 418.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2451, allocations: 0 / 418.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2451, allocations: 0 / 418.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.2454, allocations: 244.4 kB / 419.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.2454, allocations: 16.11 kB / 419.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2455, allocations: 15.94 kB / 419.1 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.2457, allocations: 31.91 kB / 419.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006767/0.2463, allocations: 0.6848 MB / 419.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006493/0.247, allocations: 0.591 MB / 420.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001982/0.2472, allocations: 151.9 kB / 420.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004455/0.2477, allocations: 386.9 kB / 420.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of Backend: time 6.41e-07/0.2477, allocations: 0 / 420.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006978/0.2484, allocations: 458.6 kB / 421.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of SimCode: time 0.001386/0.2498, allocations: 1.319 MB / 422.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of Templates: time 0.006581/0.2564, allocations: 3.814 MB / 426.5 MB, free: 268 kB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches