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.001391/0.001391, allocations: 86.28 kB / 21.44 MB, free: 276 kB / 14.72 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.001857/0.001857, allocations: 163.7 kB / 24.71 MB, free: 3.527 MB / 14.72 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.368/1.368, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 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.436e-06/3.436e-06, allocations: 4 kB / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.694e-05, allocations: 2.281 kB / 298.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002483/0.00251, allocations: 1.474 MB / 300.4 MB, free: 7.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.004469, allocations: 0.8514 MB / 301.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.004526, allocations: 0 / 301.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.529e-05/0.004611, allocations: 11.92 kB / 301.3 MB, free: 6.359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.004694, allocations: 23.78 kB / 301.3 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.004962, allocations: 51.83 kB / 301.4 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.005252, allocations: 135.7 kB / 301.5 MB, free: 6.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.005347, allocations: 11.98 kB / 301.5 MB, free: 6.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005515/0.005898, allocations: 411.2 kB / 301.9 MB, free: 5.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.006032, allocations: 59.81 kB / 302 MB, free: 5.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.006079, allocations: 12 kB / 302 MB, free: 5.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.353e-05/0.006112, allocations: 15.94 kB / 302 MB, free: 5.652 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.006202, allocations: 63.78 kB / 302.1 MB, free: 5.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.006309, allocations: 55.73 kB / 302.1 MB, free: 5.535 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.006733, allocations: 354.8 kB / 302.5 MB, free: 5.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006735, allocations: 0 / 302.5 MB, free: 5.188 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006736, allocations: 0 / 302.5 MB, free: 5.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.006746, allocations: 0 / 302.5 MB, free: 5.188 MB / 286.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.0009057/0.007652, allocations: 0.6591 MB / 303.1 MB, free: 4.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.007692, allocations: 11.98 kB / 303.1 MB, free: 4.461 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.007794, allocations: 40.7 kB / 303.2 MB, free: 4.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.008107, allocations: 216.1 kB / 303.4 MB, free: 4.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.008128, allocations: 4.375 kB / 303.4 MB, free: 4.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.008161, allocations: 12.38 kB / 303.4 MB, free: 4.168 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.008591, allocations: 245 kB / 303.6 MB, free: 3.898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.008603, allocations: 192 / 303.6 MB, free: 3.898 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.008628, allocations: 8.312 kB / 303.6 MB, free: 3.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.008635, allocations: 3.938 kB / 303.6 MB, free: 3.887 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.008897, allocations: 178.8 kB / 303.8 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.009622, allocations: 380.3 kB / 304.2 MB, free: 3.285 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.009904, allocations: 197.3 kB / 304.4 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.01013, allocations: 187.7 kB / 304.6 MB, free: 2.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.01014, allocations: 3.938 kB / 304.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004539/0.01059, allocations: 325.5 kB / 304.9 MB, free: 2.477 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.647e-06/0.0106, allocations: 3.984 kB / 304.9 MB, free: 2.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001034/0.01163, allocations: 0.693 MB / 305.6 MB, free: 1.699 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.01175, allocations: 170.2 kB / 305.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/0.01252, allocations: 0.5129 MB / 306.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.01256, allocations: 33.69 kB / 306.3 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01268, allocations: 101.1 kB / 306.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.01273, allocations: 31.78 kB / 306.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.01285, allocations: 81.52 kB / 306.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.01302, allocations: 322.8 kB / 306.8 MB, free: 404 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.01324, allocations: 178.8 kB / 307 MB, free: 200 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.01354, allocations: 196.4 kB / 307.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.01394, allocations: 351.7 kB / 307.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01394, allocations: 0 / 307.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006741/0.01462, allocations: 0.4991 MB / 308 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.703e-05/0.01472, allocations: 130.8 kB / 308.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01472, allocations: 0 / 308.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.01474, allocations: 4.031 kB / 308.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.09e-05/0.01476, allocations: 4 kB / 308.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01476, allocations: 0 / 308.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.0149, allocations: 15.94 kB / 308.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.01496, allocations: 36 kB / 308.2 MB, free: 14.81 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.0004203/0.01538, allocations: 366.5 kB / 308.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.01544, allocations: 43.7 kB / 308.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.01555, allocations: 67.06 kB / 308.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.01555, allocations: 3.938 kB / 308.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01556, allocations: 4 kB / 308.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01556, allocations: 4 kB / 308.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.01669, allocations: 0.8549 MB / 309.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.01669, allocations: 0 / 309.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-06/0.0167, allocations: 0 / 309.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.0167, allocations: 0 / 309.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.01673, allocations: 19.98 kB / 309.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01674, allocations: 0 / 309.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01674, allocations: 0 / 309.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.01755, allocations: 0.653 MB / 310.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/0.01793, allocations: 209.3 kB / 310.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.018, allocations: 16.25 kB / 310.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.01814, allocations: 15.98 kB / 310.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.01824, allocations: 23.98 kB / 310.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/0.0183, allocations: 43.92 kB / 310.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005068/0.0188, allocations: 386.9 kB / 310.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0188, allocations: 0 / 310.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.01911, allocations: 44 kB / 310.9 MB, free: 11.89 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.0001588/0.01927, allocations: 115 kB / 311.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008474/0.02012, allocations: 0.6124 MB / 311.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02012, allocations: 0 / 311.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.02055, allocations: 420.4 kB / 312.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.02122, allocations: 129.3 kB / 312.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.02257, allocations: 0.7764 MB / 313 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.02285, allocations: 201.3 kB / 313.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.02291, allocations: 12.7 kB / 313.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.02293, allocations: 16.56 kB / 313.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.02293, allocations: 3.938 kB / 313.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of Templates: time 0.009702/0.03264, allocations: 4.753 MB / 318 MB, free: 4.605 MB / 302.1 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.222181100398302]