Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001919/0.001918, allocations: 174 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000824/0.0008241, allocations: 98.3 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003443, allocations: 8 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2505, allocations: 47.58 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001401/0.252, allocations: 1.208 MB / 376.3 MB, free: 44.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2535, allocations: 0.8498 MB / 377.1 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.2536, allocations: 1.031 kB / 377.1 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.116e-05/0.2537, allocations: 9 kB / 377.2 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.2538, allocations: 11.11 kB / 377.2 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.254, allocations: 40.02 kB / 377.2 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.2542, allocations: 105.9 kB / 377.3 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2543, allocations: 21.52 kB / 377.3 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.2547, allocations: 338.5 kB / 377.7 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2549, allocations: 72.41 kB / 377.7 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.2549, allocations: 3.969 kB / 377.7 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.847e-05/0.2549, allocations: 3.188 kB / 377.7 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.255, allocations: 61.3 kB / 377.8 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2552, allocations: 127.6 kB / 377.9 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.2554, allocations: 290.1 kB / 378.2 MB, free: 43.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2555, allocations: 0 / 378.2 MB, free: 43.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2555, allocations: 0 / 378.2 MB, free: 43.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2555, allocations: 0 / 378.2 MB, free: 43.22 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.0006195/0.2561, allocations: 0.6617 MB / 378.9 MB, free: 42.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.2562, allocations: 9.156 kB / 378.9 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.2562, allocations: 34.88 kB / 378.9 MB, free: 42.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.2565, allocations: 277.7 kB / 379.2 MB, free: 42.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2565, allocations: 4.875 kB / 379.2 MB, free: 42.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.2566, allocations: 16.09 kB / 379.2 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.2569, allocations: 126.6 kB / 379.3 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.257, allocations: 0 / 379.3 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.257, allocations: 3.375 kB / 379.3 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.257, allocations: 1.25 kB / 379.3 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.2572, allocations: 56.5 kB / 379.4 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.2577, allocations: 467.9 kB / 379.8 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.2579, allocations: 94.36 kB / 379.9 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2581, allocations: 83.94 kB / 380 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2581, allocations: 3.938 kB / 380 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.2584, allocations: 199.8 kB / 380.2 MB, free: 41.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.2585, allocations: 0 / 380.2 MB, free: 41.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.00083/0.2593, allocations: 470.6 kB / 380.7 MB, free: 41.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.2594, allocations: 168.8 kB / 380.8 MB, free: 40.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.26, allocations: 0.5142 MB / 381.4 MB, free: 40.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.2601, allocations: 29.89 kB / 381.4 MB, free: 40.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.2601, allocations: 103.9 kB / 381.5 MB, free: 40.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2602, allocations: 26.75 kB / 381.5 MB, free: 40.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.2602, allocations: 2.812 kB / 381.5 MB, free: 40.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.2603, allocations: 326.8 kB / 381.8 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2604, allocations: 61.25 kB / 381.9 MB, free: 40.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2605, allocations: 75.23 kB / 382 MB, free: 40.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.2608, allocations: 338.5 kB / 382.3 MB, free: 39.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2608, allocations: 0 / 382.3 MB, free: 39.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005313/0.2614, allocations: 369.6 kB / 382.7 MB, free: 39.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.09e-05/0.2615, allocations: 125.8 kB / 382.8 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.2615, allocations: 0.9375 kB / 382.8 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2615, allocations: 5 kB / 382.8 MB, free: 39.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.141e-05/0.2615, allocations: 0.875 kB / 382.8 MB, free: 39.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2615, allocations: 1.031 kB / 382.8 MB, free: 39.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.2617, allocations: 14.72 kB / 382.8 MB, free: 39.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.2618, allocations: 42.09 kB / 382.8 MB, free: 39.34 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.0003139/0.2621, allocations: 380.9 kB / 383.2 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.2622, allocations: 38.72 kB / 383.3 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.2623, allocations: 64.09 kB / 383.3 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2623, allocations: 5.156 kB / 383.3 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2623, allocations: 0 / 383.3 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2623, allocations: 0 / 383.3 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/0.2631, allocations: 0.804 MB / 384.1 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2632, allocations: 0 / 384.1 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-06/0.2632, allocations: 0 / 384.1 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2632, allocations: 1.125 kB / 384.1 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.2632, allocations: 17.52 kB / 384.1 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2632, allocations: 3.938 kB / 384.1 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2632, allocations: 3.938 kB / 384.2 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.2638, allocations: 0.5212 MB / 384.7 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.2641, allocations: 239.7 kB / 384.9 MB, free: 37.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.2641, allocations: 11.25 kB / 384.9 MB, free: 37.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2643, allocations: 17.55 kB / 384.9 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.2644, allocations: 25.56 kB / 385 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.2645, allocations: 48.5 kB / 385 MB, free: 37.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004897/0.265, allocations: 396 kB / 385.4 MB, free: 37.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.265, allocations: 0 / 385.4 MB, free: 37.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000288/0.2653, allocations: 41.31 kB / 385.4 MB, free: 37.38 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.0001476/0.2654, allocations: 116.1 kB / 385.5 MB, free: 37.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.2659, allocations: 437.7 kB / 386 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2659, allocations: 0 / 386 MB, free: 36.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.2662, allocations: 370.6 kB / 386.3 MB, free: 36.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.2668, allocations: 109.7 kB / 386.4 MB, free: 36.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009849/0.2678, allocations: 0.7903 MB / 387.2 MB, free: 35.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.268, allocations: 0.7992 MB / 388 MB, free: 35.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.2681, allocations: 11.44 kB / 388 MB, free: 35.01 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2681, allocations: 0 / 388 MB, free: 35.01 MB / 298.7 MB Notification: Performance of Templates: time 0.003466/0.2715, allocations: 2.482 MB / 390.5 MB, free: 32.54 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches