Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 112.2 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 187.1 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 51.91 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2458, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002421/0.2483, allocations: 1.52 MB / 402.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.25, allocations: 0.8481 MB / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.2501, allocations: 0 / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.175e-05/0.2502, allocations: 11.92 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.2503, allocations: 23.78 kB / 403.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.2505, allocations: 43.95 kB / 403.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.2508, allocations: 147.7 kB / 404 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2509, allocations: 35.95 kB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.2513, allocations: 387.2 kB / 404.4 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.2514, allocations: 59.77 kB / 404.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.2515, allocations: 12 kB / 404.5 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-05/0.2515, allocations: 8 kB / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.2516, allocations: 67.75 kB / 404.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2517, allocations: 115.1 kB / 404.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.2521, allocations: 354.8 kB / 405 MB, free: 5.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2521, allocations: 4 kB / 405 MB, free: 5.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2521, allocations: 0 / 405 MB, free: 5.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2521, allocations: 4 kB / 405 MB, free: 5.246 MB / 318.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.0007199/0.2528, allocations: 0.7199 MB / 405.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2529, allocations: 8.031 kB / 405.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.2529, allocations: 44.5 kB / 405.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.2532, allocations: 270.3 kB / 406 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2533, allocations: 8.375 kB / 406.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.2533, allocations: 8.375 kB / 406.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.2536, allocations: 133.8 kB / 406.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2536, allocations: 0 / 406.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.2536, allocations: 12 kB / 406.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2536, allocations: 0 / 406.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.2538, allocations: 59.95 kB / 406.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.2544, allocations: 460.4 kB / 406.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.2546, allocations: 90.55 kB / 406.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2548, allocations: 88.88 kB / 406.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2548, allocations: 4 kB / 406.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.2552, allocations: 194.7 kB / 407.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2552, allocations: 0 / 407.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007584/0.2559, allocations: 470.3 kB / 407.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.256, allocations: 170.2 kB / 407.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.2567, allocations: 0.5091 MB / 408.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.2567, allocations: 33.7 kB / 408.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.2568, allocations: 105 kB / 408.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.2568, allocations: 23.7 kB / 408.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2569, allocations: 77.42 kB / 408.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2571, allocations: 334.7 kB / 408.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.2572, allocations: 51.97 kB / 408.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.2573, allocations: 77.62 kB / 408.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.2577, allocations: 343.3 kB / 409.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2577, allocations: 0 / 409.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004932/0.2582, allocations: 372.3 kB / 409.6 MB, free: 260 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.2583, allocations: 122.8 kB / 409.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2583, allocations: 0 / 409.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2583, allocations: 4 kB / 409.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.978e-05/0.2583, allocations: 0 / 409.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2584, allocations: 3.984 kB / 409.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.2585, allocations: 11.91 kB / 409.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.2586, allocations: 44.05 kB / 409.8 MB, free: 48 kB / 318.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.0003322/0.2589, allocations: 370.2 kB / 410.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.259, allocations: 35.62 kB / 410.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.2591, allocations: 71.08 kB / 410.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.2591, allocations: 4 kB / 410.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2591, allocations: 0 / 410.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2591, allocations: 0 / 410.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000916/0.26, allocations: 0.8043 MB / 411.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.26, allocations: 3.938 kB / 411.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-06/0.26, allocations: 4 kB / 411.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.26, allocations: 4 kB / 411.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.2601, allocations: 12.17 kB / 411.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.2601, allocations: 7.984 kB / 411.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2601, allocations: 7.922 kB / 411.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.2607, allocations: 0.5212 MB / 411.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.261, allocations: 240.5 kB / 411.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.2611, allocations: 12 kB / 411.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2612, allocations: 12 kB / 411.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.2613, allocations: 27.91 kB / 411.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.2614, allocations: 36 kB / 411.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004469/0.2618, allocations: 394.9 kB / 412.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2618, allocations: 0 / 412.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.2621, allocations: 47.91 kB / 412.4 MB, free: 13.29 MB / 334.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.0001442/0.2623, allocations: 115 kB / 412.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.2628, allocations: 441.5 kB / 412.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2628, allocations: 0 / 412.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.2632, allocations: 373.6 kB / 413.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.2638, allocations: 120.5 kB / 413.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2649, allocations: 0.6906 MB / 414.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.2654, allocations: 0.8177 MB / 414.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.2654, allocations: 11.44 kB / 414.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2654, allocations: 3.938 kB / 414.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of Templates: time 0.004549/0.27, allocations: 2.517 MB / 417.4 MB, free: 8.078 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches