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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 123.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 188.3 kB / 21.39 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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=5014,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=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 51.92 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09136, allocations: 52.14 MB / 418.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002751/0.09411, allocations: 1.532 MB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.09601, allocations: 0.8497 MB / 421.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.09606, allocations: 4 kB / 421.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.062e-05/0.09614, allocations: 7.922 kB / 421.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.09623, allocations: 23.81 kB / 421.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.09649, allocations: 55.86 kB / 421.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.09671, allocations: 127.8 kB / 421.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.0968, allocations: 12 kB / 421.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.09729, allocations: 391.2 kB / 421.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.09742, allocations: 71.67 kB / 422 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.09747, allocations: 12 kB / 422 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.0975, allocations: 8 kB / 422 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.264e-05/0.09759, allocations: 63.77 kB / 422.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.09773, allocations: 115.1 kB / 422.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.09812, allocations: 354.5 kB / 422.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.09813, allocations: 0 / 422.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09813, allocations: 4 kB / 422.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.09813, allocations: 0 / 422.6 MB, free: 8.477 MB / 350.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.0008205/0.09895, allocations: 0.7304 MB / 423.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.09899, allocations: 12.03 kB / 423.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.09906, allocations: 40.69 kB / 423.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.09937, allocations: 282.6 kB / 423.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.09939, allocations: 4.375 kB / 423.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.09942, allocations: 20.36 kB / 423.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.09973, allocations: 125.9 kB / 423.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.09973, allocations: 0 / 423.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.09976, allocations: 4 kB / 423.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.09976, allocations: 7.938 kB / 423.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.09992, allocations: 55.97 kB / 423.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.1006, allocations: 468.4 kB / 424.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1008, allocations: 74.55 kB / 424.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1009, allocations: 60.89 kB / 424.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.1009, allocations: 0 / 424.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.1013, allocations: 202.6 kB / 424.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1013, allocations: 0 / 424.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000867/0.1022, allocations: 467.5 kB / 425.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.1023, allocations: 174.2 kB / 425.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.103, allocations: 0.5091 MB / 425.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.103, allocations: 33.7 kB / 425.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.1031, allocations: 97.12 kB / 425.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.1031, allocations: 27.75 kB / 425.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.1033, allocations: 81.55 kB / 426 MB, free: 4.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1034, allocations: 330.8 kB / 426.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1035, allocations: 59.95 kB / 426.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.1037, allocations: 73.69 kB / 426.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.1041, allocations: 339.4 kB / 426.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1041, allocations: 0 / 426.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006035/0.1047, allocations: 372.3 kB / 427.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.1048, allocations: 130.8 kB / 427.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1048, allocations: 0 / 427.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1048, allocations: 4 kB / 427.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-05/0.1048, allocations: 0 / 427.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1048, allocations: 4.031 kB / 427.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.105, allocations: 11.98 kB / 427.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.105, allocations: 40 kB / 427.3 MB, free: 3.285 MB / 350.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.0003706/0.1054, allocations: 370.9 kB / 427.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.1055, allocations: 39.88 kB / 427.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1056, allocations: 71.08 kB / 427.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1056, allocations: 0 / 427.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1056, allocations: 7.984 kB / 427.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1056, allocations: 4 kB / 427.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1066, allocations: 0.7978 MB / 428.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1066, allocations: 0 / 428.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-06/0.1066, allocations: 7.938 kB / 428.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1066, allocations: 0 / 428.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.1066, allocations: 8 kB / 428.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1066, allocations: 3.938 kB / 428.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1066, allocations: 3.938 kB / 428.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.1073, allocations: 0.5322 MB / 429.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.1076, allocations: 244.6 kB / 429.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.1077, allocations: 8 kB / 429.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1078, allocations: 15.98 kB / 429.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.1079, allocations: 35.88 kB / 429.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/0.108, allocations: 40 kB / 429.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004997/0.1085, allocations: 386.9 kB / 429.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1085, allocations: 0 / 429.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.1088, allocations: 40 kB / 429.9 MB, free: 0.5273 MB / 350.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.0001444/0.1089, allocations: 123 kB / 430 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.1095, allocations: 373.5 kB / 430.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1095, allocations: 0 / 430.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.1098, allocations: 297.6 kB / 430.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.1104, allocations: 129.2 kB / 430.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1116, allocations: 0.7138 MB / 431.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.1121, allocations: 0.7982 MB / 432.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.1121, allocations: 11.44 kB / 432.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1121, allocations: 3.938 kB / 432.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Templates: time 0.004617/0.1168, allocations: 2.518 MB / 434.9 MB, free: 11.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3698464159388095]