Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 194 kB / 17.38 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 226.6 MB / 244.7 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007458/0.0007458, allocations: 94.22 kB / 296.8 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 8 kB / 356.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2137, allocations: 51.3 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001366/0.2151, allocations: 1.221 MB / 409.3 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2165, allocations: 0.8335 MB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.2166, allocations: 0 / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.842e-05/0.2167, allocations: 7.875 kB / 410.1 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.682e-05/0.2168, allocations: 15.91 kB / 410.1 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.217, allocations: 40.41 kB / 410.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2172, allocations: 107.7 kB / 410.3 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2173, allocations: 14.5 kB / 410.3 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.2176, allocations: 347.3 kB / 410.6 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.2177, allocations: 67.83 kB / 410.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.2178, allocations: 4.625 kB / 410.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-05/0.2178, allocations: 4 kB / 410.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.2179, allocations: 68.59 kB / 410.8 MB, free: 25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.218, allocations: 125 kB / 410.9 MB, free: 24.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2182, allocations: 276.5 kB / 411.2 MB, free: 24.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2182, allocations: 0 / 411.2 MB, free: 24.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2182, allocations: 4 kB / 411.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2182, allocations: 1.25 kB / 411.2 MB, free: 24.59 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.0004852/0.2187, allocations: 0.6577 MB / 411.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.2187, allocations: 8.719 kB / 411.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.2188, allocations: 36.47 kB / 411.9 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.219, allocations: 282.2 kB / 412.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.219, allocations: 4.375 kB / 412.1 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.2191, allocations: 8.375 kB / 412.2 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2193, allocations: 133.9 kB / 412.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2193, allocations: 0 / 412.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.2194, allocations: 8 kB / 412.3 MB, free: 23.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2194, allocations: 4 kB / 412.3 MB, free: 23.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.2195, allocations: 55.97 kB / 412.3 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.22, allocations: 457.8 kB / 412.8 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.2201, allocations: 94.55 kB / 412.9 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2203, allocations: 80.89 kB / 413 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2203, allocations: 112 / 413 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.2206, allocations: 218.5 kB / 413.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2206, allocations: 0 / 413.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006792/0.2213, allocations: 452 kB / 413.6 MB, free: 21.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.2213, allocations: 174.2 kB / 413.8 MB, free: 21.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.2218, allocations: 0.513 MB / 414.3 MB, free: 21.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.2219, allocations: 29.7 kB / 414.3 MB, free: 21.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.2219, allocations: 101 kB / 414.4 MB, free: 21.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.222, allocations: 31.64 kB / 414.5 MB, free: 21.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.222, allocations: 8 kB / 414.5 MB, free: 21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.2221, allocations: 326.8 kB / 414.8 MB, free: 20.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.2222, allocations: 51.97 kB / 414.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.2223, allocations: 74.53 kB / 414.9 MB, free: 20.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.2226, allocations: 343.2 kB / 415.2 MB, free: 20.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2226, allocations: 0 / 415.2 MB, free: 20.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004199/0.223, allocations: 377.3 kB / 415.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.2231, allocations: 122.8 kB / 415.7 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2231, allocations: 0 / 415.7 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2231, allocations: 4 kB / 415.7 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.028e-05/0.2231, allocations: 4.031 kB / 415.7 MB, free: 19.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2231, allocations: 8.047 kB / 415.8 MB, free: 19.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.2233, allocations: 19.84 kB / 415.8 MB, free: 19.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.2234, allocations: 40 kB / 415.8 MB, free: 19.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.2236, allocations: 366.1 kB / 416.2 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.2237, allocations: 35.62 kB / 416.2 MB, free: 19.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.83e-05/0.2238, allocations: 63.14 kB / 416.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2238, allocations: 0 / 416.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2238, allocations: 4 kB / 416.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2238, allocations: 0 / 416.3 MB, free: 19.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.2245, allocations: 0.8167 MB / 417.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2245, allocations: 0 / 417.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-06/0.2245, allocations: 0 / 417.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2245, allocations: 0 / 417.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.2245, allocations: 11.98 kB / 417.1 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2246, allocations: 7.875 kB / 417.1 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2246, allocations: 3.938 kB / 417.1 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.225, allocations: 0.5252 MB / 417.6 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.2253, allocations: 248.4 kB / 417.9 MB, free: 17.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.2254, allocations: 8 kB / 417.9 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.2255, allocations: 12 kB / 417.9 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2256, allocations: 31.89 kB / 417.9 MB, free: 17.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.2257, allocations: 47.92 kB / 418 MB, free: 17.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003622/0.226, allocations: 386.9 kB / 418.4 MB, free: 16.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2261, allocations: 4 kB / 418.4 MB, free: 16.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.2263, allocations: 44 kB / 418.4 MB, free: 16.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.2265, allocations: 122.1 kB / 418.5 MB, free: 16.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.2269, allocations: 433.5 kB / 418.9 MB, free: 16.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2269, allocations: 0 / 418.9 MB, free: 16.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.2271, allocations: 369.6 kB / 419.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.2276, allocations: 121.8 kB / 419.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.2286, allocations: 0.7717 MB / 420.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.2288, allocations: 0.7986 MB / 421 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.2288, allocations: 11.44 kB / 421 MB, free: 14 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2289, allocations: 3.938 kB / 421 MB, free: 14 MB / 298.7 MB Notification: Performance of Templates: time 0.003896/0.2328, allocations: 2.478 MB / 423.5 MB, free: 11.53 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches