Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 163.8 kB / 25.03 MB, free: 7.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.025e-06/3.025e-06, allocations: 0 / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.684e-05/4.986e-05, allocations: 2.312 kB / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.004827/0.004877, allocations: 1.502 MB / 251.9 MB, free: 2.414 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.008156, allocations: 0.8507 MB / 252.7 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.008285, allocations: 0 / 252.7 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.00845, allocations: 3.938 kB / 252.7 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.008627, allocations: 31.72 kB / 252.8 MB, free: 1.52 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.00909, allocations: 59.81 kB / 252.8 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.009398, allocations: 127.7 kB / 252.9 MB, free: 1.336 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.009538, allocations: 19.97 kB / 253 MB, free: 1.316 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.0103, allocations: 415.2 kB / 253.4 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.01051, allocations: 55.83 kB / 253.4 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.153e-05/0.01059, allocations: 12 kB / 253.4 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.904e-05/0.01064, allocations: 8 kB / 253.4 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.01077, allocations: 75.69 kB / 253.5 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.0109, allocations: 55.8 kB / 253.6 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.01145, allocations: 350.8 kB / 253.9 MB, free: 372 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.01146, allocations: 0 / 253.9 MB, free: 372 kB / 234.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.01146, allocations: 4 kB / 253.9 MB, free: 368 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.01147, allocations: 0 / 253.9 MB, free: 368 kB / 234.7 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.001744/0.01322, allocations: 0.8055 MB / 254.7 MB, free: 15.49 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.01327, allocations: 11.98 kB / 254.7 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.01341, allocations: 44.7 kB / 254.8 MB, free: 15.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.01384, allocations: 222.9 kB / 255 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.01387, allocations: 4.375 kB / 255 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.01392, allocations: 16.31 kB / 255 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.01444, allocations: 245 kB / 255.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.01445, allocations: 192 / 255.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.01448, allocations: 4.375 kB / 255.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.01449, allocations: 7.938 kB / 255.3 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.01478, allocations: 182.8 kB / 255.4 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.01606, allocations: 0.5384 MB / 256 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.01643, allocations: 209.8 kB / 256.2 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.01672, allocations: 198.6 kB / 256.4 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.01674, allocations: 7.875 kB / 256.4 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005182/0.01726, allocations: 335.1 kB / 256.7 MB, free: 13.26 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.01726, allocations: 0 / 256.7 MB, free: 13.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.00119/0.01845, allocations: 0.7167 MB / 257.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.01859, allocations: 166.2 kB / 257.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.01975, allocations: 0.7052 MB / 258.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.0198, allocations: 29.7 kB / 258.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.01993, allocations: 147.9 kB / 258.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.01998, allocations: 39.7 kB / 258.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.02014, allocations: 91.17 kB / 258.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000283/0.02043, allocations: 0.4962 MB / 259.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.02067, allocations: 182.8 kB / 259.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.02094, allocations: 202.1 kB / 259.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.02138, allocations: 379.4 kB / 259.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.02138, allocations: 0 / 259.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007722/0.02215, allocations: 0.503 MB / 260.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.02227, allocations: 126.8 kB / 260.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.02228, allocations: 0 / 260.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.02231, allocations: 3.984 kB / 260.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.363e-05/0.02233, allocations: 0 / 260.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.02234, allocations: 7.938 kB / 260.5 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.02249, allocations: 12.08 kB / 260.5 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.02256, allocations: 40 kB / 260.5 MB, free: 9.086 MB / 250.7 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.0004573/0.02301, allocations: 393.3 kB / 260.9 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.02311, allocations: 55.7 kB / 261 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.02322, allocations: 55.08 kB / 261 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02322, allocations: 0 / 261 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.02323, allocations: 3.938 kB / 261 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02323, allocations: 4 kB / 261 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.02473, allocations: 1.03 MB / 262.1 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02474, allocations: 0 / 262.1 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-06/0.02474, allocations: 0 / 262.1 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.02475, allocations: 0 / 262.1 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.02478, allocations: 15.98 kB / 262.1 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.02478, allocations: 4 kB / 262.1 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02478, allocations: 0 / 262.1 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.02575, allocations: 0.7335 MB / 262.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/0.02616, allocations: 181.3 kB / 263 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.02623, allocations: 15.98 kB / 263 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.02635, allocations: 8 kB / 263 MB, free: 6.406 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.02647, allocations: 27.97 kB / 263 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.02653, allocations: 43.92 kB / 263.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006443/0.02718, allocations: 458.7 kB / 263.5 MB, free: 5.891 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02718, allocations: 4 kB / 263.5 MB, free: 5.887 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.02747, allocations: 44 kB / 263.6 MB, free: 5.844 MB / 250.7 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.0001798/0.02765, allocations: 115 kB / 263.7 MB, free: 5.719 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.0285, allocations: 0.6473 MB / 264.3 MB, free: 4.969 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02851, allocations: 0 / 264.3 MB, free: 4.969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004791/0.02899, allocations: 468.2 kB / 264.8 MB, free: 4.434 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/0.02966, allocations: 142.7 kB / 264.9 MB, free: 4.301 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.03097, allocations: 0.7713 MB / 265.7 MB, free: 3.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.03124, allocations: 181.7 kB / 265.9 MB, free: 3.281 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.484e-05/0.03129, allocations: 8.719 kB / 265.9 MB, free: 3.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.03133, allocations: 12.5 kB / 265.9 MB, free: 3.258 MB / 250.7 MB Notification: Performance of SimCode: time 1.183e-06/0.03133, allocations: 0 / 265.9 MB, free: 3.258 MB / 250.7 MB Notification: Performance of Templates: time 0.01002/0.04135, allocations: 4.767 MB / 270.7 MB, free: 14.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.480855869944207]