Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001477, allocations: 195.9 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007483/0.0007484, allocations: 97.73 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002095/0.0002098, allocations: 4 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2286, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001483/0.2301, allocations: 1.217 MB / 413.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2317, allocations: 1.324 MB / 414.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.2318, allocations: 0 / 414.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.689e-05/0.2319, allocations: 8.828 kB / 414.6 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.232, allocations: 19.86 kB / 414.6 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.2322, allocations: 47.08 kB / 414.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2323, allocations: 107.7 kB / 414.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2324, allocations: 23.97 kB / 414.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.2328, allocations: 375.2 kB / 415.2 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2329, allocations: 56.48 kB / 415.2 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.233, allocations: 7.938 kB / 415.2 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.8e-05/0.233, allocations: 8.75 kB / 415.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.2331, allocations: 63.77 kB / 415.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.2332, allocations: 136.9 kB / 415.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.2334, allocations: 338.7 kB / 415.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2334, allocations: 0 / 415.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2334, allocations: 0 / 415.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.2335, allocations: 0 / 415.8 MB, free: 22.08 MB / 298.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.0004675/0.2339, allocations: 0.6543 MB / 416.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.234, allocations: 12.02 kB / 416.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.234, allocations: 40.47 kB / 416.5 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.2342, allocations: 274.3 kB / 416.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2343, allocations: 4.375 kB / 416.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.2343, allocations: 20.36 kB / 416.8 MB, free: 20.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.2346, allocations: 125.9 kB / 416.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2346, allocations: 0 / 416.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.2346, allocations: 4 kB / 416.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2346, allocations: 0 / 416.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.2347, allocations: 59.91 kB / 416.9 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.2352, allocations: 456.6 kB / 417.4 MB, free: 20.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.2354, allocations: 94.55 kB / 417.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.2355, allocations: 80.89 kB / 417.6 MB, free: 20.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.2356, allocations: 3.938 kB / 417.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.2358, allocations: 202.6 kB / 417.8 MB, free: 19.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.2358, allocations: 0 / 417.8 MB, free: 19.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006186/0.2365, allocations: 464.4 kB / 418.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.2365, allocations: 170.2 kB / 418.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.2371, allocations: 0.5168 MB / 418.9 MB, free: 18.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.2371, allocations: 29.7 kB / 418.9 MB, free: 18.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.2371, allocations: 105 kB / 419 MB, free: 18.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.2372, allocations: 23.72 kB / 419.1 MB, free: 18.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.2372, allocations: 0 / 419.1 MB, free: 18.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.2373, allocations: 326.8 kB / 419.4 MB, free: 18.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.2374, allocations: 63.97 kB / 419.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.2375, allocations: 69.67 kB / 419.5 MB, free: 18.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.2377, allocations: 347.2 kB / 419.8 MB, free: 17.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2377, allocations: 0 / 419.8 MB, free: 17.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003766/0.2381, allocations: 368.6 kB / 420.2 MB, free: 17.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.2382, allocations: 126.7 kB / 420.3 MB, free: 17.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2382, allocations: 0 / 420.3 MB, free: 17.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2382, allocations: 11.95 kB / 420.3 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.142e-05/0.2382, allocations: 8 kB / 420.3 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2382, allocations: 3.938 kB / 420.4 MB, free: 17.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.2384, allocations: 15.84 kB / 420.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.2384, allocations: 43.98 kB / 420.4 MB, free: 17.02 MB / 298.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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 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.000226/0.2387, allocations: 362.2 kB / 420.8 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.2387, allocations: 35.62 kB / 420.8 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.2388, allocations: 63.16 kB / 420.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2388, allocations: 12.11 kB / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2388, allocations: 4 kB / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2388, allocations: 0 / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.2395, allocations: 0.8093 MB / 421.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2395, allocations: 0 / 421.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-06/0.2395, allocations: 0 / 421.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2395, allocations: 4 kB / 421.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.2395, allocations: 15.98 kB / 421.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2395, allocations: 0 / 421.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2396, allocations: 7.938 kB / 421.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.24, allocations: 0.5174 MB / 422.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.2402, allocations: 248.4 kB / 422.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.2403, allocations: 12 kB / 422.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.2404, allocations: 8 kB / 422.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.2405, allocations: 31.84 kB / 422.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.2406, allocations: 47.92 kB / 422.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003637/0.2409, allocations: 386.9 kB / 422.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.241, allocations: 0 / 422.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.2412, allocations: 40 kB / 423 MB, free: 14.25 MB / 298.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.000129/0.2413, allocations: 119 kB / 423.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.2417, allocations: 433.5 kB / 423.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2418, allocations: 0 / 423.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.242, allocations: 385.5 kB / 423.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.2425, allocations: 115.2 kB / 424 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.2434, allocations: 0.7584 MB / 424.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.2436, allocations: 0.7986 MB / 425.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.589e-05/0.2437, allocations: 8.656 kB / 425.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.2437, allocations: 11.44 kB / 425.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2437, allocations: 0 / 425.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Templates: time 0.005424/0.2491, allocations: 3.839 MB / 429.4 MB, free: 7.691 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches