Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008284/0.0008284, allocations: 97.83 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008047/0.0008047, allocations: 200.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002099/0.0002099, allocations: 8 kB / 307.8 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07952/0.07975, allocations: 51.52 MB / 359.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001324/0.0811, allocations: 1.245 MB / 360.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.08261, allocations: 0.9046 MB / 361.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.08266, allocations: 3.938 kB / 361.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.929e-05/0.08273, allocations: 3.938 kB / 361.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.08279, allocations: 15.92 kB / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.08298, allocations: 39.95 kB / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.0831, allocations: 111.7 kB / 361.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.08319, allocations: 20 kB / 361.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.08356, allocations: 379.2 kB / 362.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.08366, allocations: 63.69 kB / 362.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.08369, allocations: 4 kB / 362.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.08372, allocations: 4 kB / 362.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.08379, allocations: 67.7 kB / 362.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.0839, allocations: 124.9 kB / 362.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.08416, allocations: 338.6 kB / 362.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.08417, allocations: 8 kB / 362.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08418, allocations: 0 / 362.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.08419, allocations: 0 / 362.7 MB, free: 9.859 MB / 302.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.0005034/0.0847, allocations: 0.657 MB / 363.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.08474, allocations: 12.03 kB / 363.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.08478, allocations: 42.73 kB / 363.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.08484, allocations: 40.41 kB / 363.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.08506, allocations: 274.3 kB / 363.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.08509, allocations: 4.375 kB / 363.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.08512, allocations: 12.38 kB / 363.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.08537, allocations: 121.7 kB / 363.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.08538, allocations: 3.938 kB / 363.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.08541, allocations: 8 kB / 363.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.08542, allocations: 8 kB / 363.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.08555, allocations: 55.95 kB / 363.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.08607, allocations: 460.5 kB / 364.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.08626, allocations: 98.47 kB / 364.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.0864, allocations: 80.89 kB / 364.5 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.08642, allocations: 4 kB / 364.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.08668, allocations: 194.7 kB / 364.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.08669, allocations: 0 / 364.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006656/0.08736, allocations: 475.4 kB / 365.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.08744, allocations: 162.2 kB / 365.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.08799, allocations: 0.5207 MB / 365.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.08802, allocations: 29.7 kB / 365.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.08807, allocations: 97.12 kB / 366 MB, free: 6.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.08811, allocations: 35.62 kB / 366 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.08816, allocations: 21.72 kB / 366 MB, free: 6.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.08825, allocations: 330.8 kB / 366.3 MB, free: 5.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.08837, allocations: 63.91 kB / 366.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.0885, allocations: 77.61 kB / 366.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.08879, allocations: 335.3 kB / 366.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.0888, allocations: 0 / 366.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004544/0.08926, allocations: 376.2 kB / 367.2 MB, free: 4.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/0.08933, allocations: 126.8 kB / 367.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.08935, allocations: 3.984 kB / 367.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.08936, allocations: 8.031 kB / 367.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-05/0.08938, allocations: 0 / 367.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.08939, allocations: 112 / 367.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.08953, allocations: 15.94 kB / 367.3 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.08959, allocations: 39.98 kB / 367.4 MB, free: 4.715 MB / 302.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.0002801/0.08987, allocations: 366.2 kB / 367.7 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.08992, allocations: 39.53 kB / 367.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.622e-05/0.09001, allocations: 63.16 kB / 367.8 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.09002, allocations: 4 kB / 367.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.09003, allocations: 0 / 367.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.09004, allocations: 0 / 367.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008233/0.09086, allocations: 0.8171 MB / 368.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.09088, allocations: 0 / 368.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-06/0.09088, allocations: 0 / 368.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.09089, allocations: 0 / 368.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.09092, allocations: 11.98 kB / 368.7 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.09092, allocations: 4 kB / 368.7 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.09093, allocations: 3.938 kB / 368.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.09147, allocations: 0.5247 MB / 369.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.09174, allocations: 244.7 kB / 369.4 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.09179, allocations: 8 kB / 369.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.09193, allocations: 23.92 kB / 369.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.09202, allocations: 27.91 kB / 369.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.09206, allocations: 43.92 kB / 369.5 MB, free: 2.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003993/0.09247, allocations: 390.9 kB / 369.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09248, allocations: 0 / 369.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.09274, allocations: 48 kB / 370 MB, free: 1.938 MB / 302.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.0007828/0.09353, allocations: 1.078 MB / 371 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.09396, allocations: 437.5 kB / 371.5 MB, free: 340 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.09397, allocations: 0 / 371.5 MB, free: 340 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1321/0.2261, allocations: 368.2 kB / 371.8 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.2268, allocations: 117.8 kB / 371.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.2296, allocations: 2.795 MB / 374.7 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2299, allocations: 0.8035 MB / 375.5 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.2299, allocations: 7.672 kB / 375.5 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.23, allocations: 27.59 kB / 375.6 MB, free: 17.28 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.23, allocations: 0 / 375.6 MB, free: 17.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.2438, allocations: 5.06 MB / 380.6 MB, free: 16.84 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000109/0.2439, allocations: 189.9 kB / 380.8 MB, free: 16.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.906, allocations: 0 / 380.8 MB, free: 16.58 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_BUF3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches