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.0008791/0.0008791, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008769/0.0008769, allocations: 160.5 kB / 25.45 MB, free: 9.348 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 0.8773/0.8773, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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 1.673e-06/1.673e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.612e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001895/0.001921, allocations: 1.47 MB / 301.2 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.003368, allocations: 0.8481 MB / 302 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.003426, allocations: 0 / 302 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.01e-05/0.003517, allocations: 15.8 kB / 302 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.003588, allocations: 15.86 kB / 302 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.003855, allocations: 59.81 kB / 302.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.004032, allocations: 127.7 kB / 302.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.004128, allocations: 23.97 kB / 302.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.004482, allocations: 411.2 kB / 302.7 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004584, allocations: 55.83 kB / 302.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.004616, allocations: 11.94 kB / 302.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.004638, allocations: 12 kB / 302.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.004709, allocations: 71.7 kB / 302.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.004773, allocations: 47.8 kB / 302.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.005048, allocations: 354.8 kB / 303.2 MB, free: 3.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.005053, allocations: 4 kB / 303.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.005054, allocations: 0 / 303.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.00506, allocations: 0 / 303.2 MB, free: 3.387 MB / 282.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.0006093/0.005669, allocations: 0.6552 MB / 303.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.005709, allocations: 15.98 kB / 303.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.005768, allocations: 36.7 kB / 303.9 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.005987, allocations: 220 kB / 304.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.006007, allocations: 8.312 kB / 304.1 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.006027, allocations: 12.38 kB / 304.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.006311, allocations: 241 kB / 304.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.006321, allocations: 192 / 304.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.006338, allocations: 4.375 kB / 304.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.006344, allocations: 3.938 kB / 304.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.006466, allocations: 174.8 kB / 304.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.006975, allocations: 392.2 kB / 304.9 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.007145, allocations: 197.3 kB / 305.1 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.007268, allocations: 175.7 kB / 305.3 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.007279, allocations: 3.938 kB / 305.3 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.007606, allocations: 341.5 kB / 305.6 MB, free: 0.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.007607, allocations: 0 / 305.6 MB, free: 0.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005892/0.008196, allocations: 0.6853 MB / 306.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.008267, allocations: 174.2 kB / 306.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.008667, allocations: 0.5168 MB / 307 MB, free: 15.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.008691, allocations: 33.7 kB / 307 MB, free: 15.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.008743, allocations: 101.1 kB / 307.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.008773, allocations: 35.72 kB / 307.2 MB, free: 15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.008845, allocations: 77.56 kB / 307.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.008929, allocations: 322.8 kB / 307.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.009049, allocations: 178.8 kB / 307.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.00917, allocations: 196.1 kB / 307.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.009378, allocations: 355.6 kB / 308.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.00938, allocations: 0 / 308.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003918/0.009772, allocations: 0.5029 MB / 308.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.336e-05/0.009845, allocations: 126.8 kB / 308.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.009852, allocations: 4 kB / 308.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.009868, allocations: 0 / 308.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-05/0.009892, allocations: 3.938 kB / 308.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.009899, allocations: 0 / 308.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.01, allocations: 15.98 kB / 308.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.01005, allocations: 40 kB / 309 MB, free: 13 MB / 298.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.0002423/0.01029, allocations: 358.6 kB / 309.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.01032, allocations: 47.84 kB / 309.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.874e-05/0.01039, allocations: 71.02 kB / 309.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01039, allocations: 0 / 309.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.0104, allocations: 0 / 309.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.0104, allocations: 3.984 kB / 309.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/0.01102, allocations: 0.8471 MB / 310.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01102, allocations: 0 / 310.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-06/0.01103, allocations: 4 kB / 310.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01103, allocations: 3.938 kB / 310.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.01105, allocations: 15.98 kB / 310.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01105, allocations: 0 / 310.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01105, allocations: 4 kB / 310.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.01149, allocations: 0.6492 MB / 311 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.01174, allocations: 213.3 kB / 311.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.01177, allocations: 12.25 kB / 311.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.01186, allocations: 12 kB / 311.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.01195, allocations: 23.97 kB / 311.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.01198, allocations: 47.92 kB / 311.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002844/0.01227, allocations: 386.9 kB / 311.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01227, allocations: 3.938 kB / 311.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001941/0.01246, allocations: 44 kB / 311.7 MB, free: 10.09 MB / 298.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.0001047/0.01257, allocations: 115 kB / 311.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.01297, allocations: 0.6007 MB / 312.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01298, allocations: 0 / 312.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.01319, allocations: 432.3 kB / 312.8 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.01356, allocations: 129.2 kB / 313 MB, free: 8.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008269/0.01438, allocations: 0.821 MB / 313.8 MB, free: 7.773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.01455, allocations: 205.5 kB / 314 MB, free: 7.551 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.01458, allocations: 12.5 kB / 314 MB, free: 7.535 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01458, allocations: 3.938 kB / 314 MB, free: 7.531 MB / 298.7 MB Notification: Performance of Templates: time 0.003232/0.01781, allocations: 2.481 MB / 316.5 MB, free: 5.055 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] 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.442379761487246]