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.001291/0.001291, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.8 kB / 306.3 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09716/0.09834, allocations: 50.54 MB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002494/0.1009, allocations: 1.59 MB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1025, allocations: 0.9006 MB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.1026, allocations: 0 / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.083e-05/0.1027, allocations: 7.922 kB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.1027, allocations: 15.91 kB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.1029, allocations: 39.97 kB / 359.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1031, allocations: 111.7 kB / 359.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.1032, allocations: 27.98 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.1035, allocations: 375.3 kB / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.1037, allocations: 67.69 kB / 360 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.1037, allocations: 4 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.983e-05/0.1037, allocations: 7.938 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.1038, allocations: 63.77 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.1039, allocations: 115.1 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.1042, allocations: 334.8 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1042, allocations: 4 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1042, allocations: 0 / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1043, allocations: 0 / 360.5 MB, free: 10.76 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.0007029/0.105, allocations: 0.723 MB / 361.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.105, allocations: 15.97 kB / 361.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1051, allocations: 38.75 kB / 361.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.1051, allocations: 40.47 kB / 361.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1054, allocations: 274.3 kB / 361.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1054, allocations: 8.359 kB / 361.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1054, allocations: 8.375 kB / 361.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1057, allocations: 133.7 kB / 361.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1057, allocations: 0 / 361.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1058, allocations: 8 kB / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1058, allocations: 4 kB / 361.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1059, allocations: 55.97 kB / 361.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.1065, allocations: 456.5 kB / 362.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1067, allocations: 94.48 kB / 362.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.1068, allocations: 80.89 kB / 362.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.1068, allocations: 4 kB / 362.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.1072, allocations: 198.7 kB / 362.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.1072, allocations: 0 / 362.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007433/0.1079, allocations: 476 kB / 363.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.108, allocations: 166.2 kB / 363.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.1086, allocations: 0.5207 MB / 363.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1086, allocations: 29.7 kB / 363.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1087, allocations: 97.12 kB / 363.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.1087, allocations: 27.66 kB / 363.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.1089, allocations: 89.31 kB / 364 MB, free: 6.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.109, allocations: 326.8 kB / 364.3 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1091, allocations: 55.97 kB / 364.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1092, allocations: 77.62 kB / 364.5 MB, free: 6.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.1096, allocations: 335.3 kB / 364.8 MB, free: 6.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1096, allocations: 0 / 364.8 MB, free: 6.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005057/0.1101, allocations: 375.6 kB / 365.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.663e-05/0.1102, allocations: 126.8 kB / 365.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1102, allocations: 0 / 365.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1102, allocations: 4.141 kB / 365.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.85e-05/0.1102, allocations: 7.938 kB / 365.3 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1103, allocations: 0 / 365.3 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1104, allocations: 11.98 kB / 365.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/0.1105, allocations: 40 kB / 365.4 MB, free: 5.5 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.0003123/0.1108, allocations: 370.2 kB / 365.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.1108, allocations: 39.53 kB / 365.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.235e-05/0.1109, allocations: 59.16 kB / 365.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1109, allocations: 4 kB / 365.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.111, allocations: 7.984 kB / 365.8 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.111, allocations: 0 / 365.8 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.1118, allocations: 0.8173 MB / 366.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1118, allocations: 4 kB / 366.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-06/0.1119, allocations: 0 / 366.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1119, allocations: 4 kB / 366.6 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.1119, allocations: 8 kB / 366.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1119, allocations: 0 / 366.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.1119, allocations: 3.938 kB / 366.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.1125, allocations: 0.529 MB / 367.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.1128, allocations: 244.5 kB / 367.4 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.1129, allocations: 8 kB / 367.4 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.113, allocations: 19.92 kB / 367.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.1131, allocations: 23.91 kB / 367.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.1132, allocations: 39.94 kB / 367.5 MB, free: 3.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004217/0.1136, allocations: 390.9 kB / 367.9 MB, free: 2.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 4 kB / 367.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1139, allocations: 47.98 kB / 368 MB, free: 2.715 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.0008789/0.1147, allocations: 1.078 MB / 369 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.1152, allocations: 433.5 kB / 369.5 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1152, allocations: 4.062 kB / 369.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.1155, allocations: 369.6 kB / 369.8 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.1161, allocations: 125.8 kB / 369.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1788/0.2949, allocations: 2.788 MB / 372.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.2952, allocations: 0.7988 MB / 373.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.2953, allocations: 11 kB / 373.5 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.2954, allocations: 29.45 kB / 373.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2954, allocations: 3.594 kB / 373.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.3127, allocations: 5.357 MB / 378.9 MB, free: 18.07 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.313, allocations: 190.1 kB / 379.1 MB, free: 17.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.089, allocations: 0 / 379.1 MB, free: 17.81 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