Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 118.6 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 211.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 227.7 MB / 247.9 MB, free: 10.25 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.91 kB / 359.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2469, allocations: 50.54 MB / 410.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002775/0.2497, allocations: 1.534 MB / 411.7 MB, free: 92 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2517, allocations: 0.8834 MB / 412.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.2517, allocations: 3.938 kB / 412.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2518, allocations: 7.922 kB / 412.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.2519, allocations: 23.84 kB / 412.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.2522, allocations: 47.89 kB / 412.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2525, allocations: 131.7 kB / 412.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2526, allocations: 19.97 kB / 412.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.2531, allocations: 391.2 kB / 413.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.2533, allocations: 67.77 kB / 413.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.2533, allocations: 12 kB / 413.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.079e-05/0.2533, allocations: 8 kB / 413.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2535, allocations: 67.7 kB / 413.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2536, allocations: 115.2 kB / 413.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.254, allocations: 350.5 kB / 413.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.254, allocations: 3.938 kB / 413.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.254, allocations: 0 / 413.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.254, allocations: 3.938 kB / 413.8 MB, free: 13.97 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.0009032/0.2549, allocations: 0.7305 MB / 414.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.255, allocations: 16.03 kB / 414.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.255, allocations: 36.7 kB / 414.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.2554, allocations: 278.7 kB / 414.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2554, allocations: 4.375 kB / 414.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.2555, allocations: 12.38 kB / 414.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2558, allocations: 125.9 kB / 415 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2558, allocations: 4 kB / 415 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.2558, allocations: 4 kB / 415 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2558, allocations: 4 kB / 415.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.256, allocations: 59.95 kB / 415.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.2567, allocations: 452.6 kB / 415.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.2569, allocations: 74.48 kB / 415.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.257, allocations: 60.88 kB / 415.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.2571, allocations: 4 kB / 415.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003678/0.2574, allocations: 198.7 kB / 415.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2574, allocations: 0 / 415.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008227/0.2583, allocations: 474.3 kB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.2584, allocations: 174.2 kB / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.2591, allocations: 0.5129 MB / 417 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.2591, allocations: 33.7 kB / 417.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.2592, allocations: 97.12 kB / 417.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.2592, allocations: 23.8 kB / 417.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.2593, allocations: 89.61 kB / 417.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2595, allocations: 330.7 kB / 417.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.2596, allocations: 55.97 kB / 417.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.2598, allocations: 81.61 kB / 417.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.2601, allocations: 339.3 kB / 418.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2601, allocations: 0 / 418.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005743/0.2607, allocations: 372.3 kB / 418.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.2608, allocations: 126.8 kB / 418.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2608, allocations: 0 / 418.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2609, allocations: 0 / 418.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.2609, allocations: 4 kB / 418.5 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2609, allocations: 0 / 418.5 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.261, allocations: 15.94 kB / 418.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.2611, allocations: 36 kB / 418.6 MB, free: 8.789 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.0003748/0.2614, allocations: 362.2 kB / 419 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.2615, allocations: 43.8 kB / 419 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2616, allocations: 71.08 kB / 419.1 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2616, allocations: 3.984 kB / 419.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2616, allocations: 4 kB / 419.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2616, allocations: 0 / 419.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.2627, allocations: 0.8165 MB / 419.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2627, allocations: 0 / 419.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-06/0.2627, allocations: 4 kB / 419.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2627, allocations: 192 / 419.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.2627, allocations: 15.98 kB / 419.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2627, allocations: 4 kB / 419.9 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2627, allocations: 3.938 kB / 419.9 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.2634, allocations: 0.5215 MB / 420.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.2638, allocations: 248.6 kB / 420.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.2638, allocations: 12 kB / 420.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2639, allocations: 11.94 kB / 420.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.264, allocations: 27.91 kB / 420.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.2641, allocations: 47.94 kB / 420.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005051/0.2646, allocations: 390.9 kB / 421.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2646, allocations: 0 / 421.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00029/0.2649, allocations: 44 kB / 421.2 MB, free: 6.012 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.000144/0.265, allocations: 111 kB / 421.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.2656, allocations: 373.5 kB / 421.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2656, allocations: 0 / 421.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.2659, allocations: 305.6 kB / 422 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.2665, allocations: 132.2 kB / 422.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.2676, allocations: 0.6571 MB / 422.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.2681, allocations: 0.7944 MB / 423.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.228e-05/0.2682, allocations: 8.656 kB / 423.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.2682, allocations: 19.44 kB / 423.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2682, allocations: 4 kB / 423.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Templates: time 0.008195/0.2764, allocations: 4.374 MB / 428 MB, free: 15.13 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches