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.0008321/0.0008321, allocations: 85.95 kB / 23 MB, free: 1.504 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.0009765/0.0009765, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9389/0.9389, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.232e-06/1.232e-06, allocations: 3.938 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.69e-05, allocations: 2.312 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001896/0.001913, allocations: 1.526 MB / 253.8 MB, free: 5.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.003357, allocations: 0.8584 MB / 254.6 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.003412, allocations: 0 / 254.6 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.966e-05/0.003502, allocations: 15.86 kB / 254.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.003577, allocations: 15.86 kB / 254.7 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.003808, allocations: 47.88 kB / 254.7 MB, free: 4.766 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.003965, allocations: 139.7 kB / 254.9 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.004043, allocations: 15.97 kB / 254.9 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.0044, allocations: 419.2 kB / 255.3 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.004496, allocations: 59.81 kB / 255.3 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.004523, allocations: 8 kB / 255.3 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.004546, allocations: 12 kB / 255.4 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.004609, allocations: 63.72 kB / 255.4 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.004671, allocations: 55.8 kB / 255.5 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.004894, allocations: 267 kB / 255.7 MB, free: 3.746 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004896, allocations: 0 / 255.7 MB, free: 3.746 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004897, allocations: 0 / 255.7 MB, free: 3.746 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.004903, allocations: 4 kB / 255.7 MB, free: 3.742 MB / 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.0005531/0.005456, allocations: 0.7823 MB / 256.5 MB, free: 2.898 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.00549, allocations: 11.98 kB / 256.5 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.005547, allocations: 44.7 kB / 256.6 MB, free: 2.844 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.005718, allocations: 222.9 kB / 256.8 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.005735, allocations: 4.375 kB / 256.8 MB, free: 2.594 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.005759, allocations: 12.38 kB / 256.8 MB, free: 2.582 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.005985, allocations: 237.2 kB / 257 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.005994, allocations: 192 / 257 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.00601, allocations: 12.36 kB / 257.1 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.006016, allocations: 7.938 kB / 257.1 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.006106, allocations: 150.8 kB / 257.2 MB, free: 2.129 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.006542, allocations: 408 kB / 257.6 MB, free: 1.703 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.006676, allocations: 177.8 kB / 257.8 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.006791, allocations: 162.5 kB / 257.9 MB, free: 1.305 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.006798, allocations: 4 kB / 257.9 MB, free: 1.301 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.006999, allocations: 315 kB / 258.2 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.007002, allocations: 4 kB / 258.3 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008479/0.007849, allocations: 0.6347 MB / 258.9 MB, free: 228 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.007916, allocations: 170.2 kB / 259.1 MB, free: 20 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.008346, allocations: 0.506 MB / 259.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.008366, allocations: 29.7 kB / 259.6 MB, free: 15.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.008428, allocations: 147.8 kB / 259.7 MB, free: 15.31 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.008461, allocations: 39.7 kB / 259.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.008536, allocations: 83.16 kB / 259.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.008676, allocations: 0.4962 MB / 260.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.008786, allocations: 154.8 kB / 260.5 MB, free: 14.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.73e-05/0.008883, allocations: 178.1 kB / 260.7 MB, free: 14.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.009065, allocations: 320.9 kB / 261 MB, free: 13.92 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009066, allocations: 3.938 kB / 261 MB, free: 13.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003211/0.009387, allocations: 463.1 kB / 261.4 MB, free: 13.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.009443, allocations: 126.8 kB / 261.6 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009448, allocations: 0 / 261.6 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.009458, allocations: 0 / 261.6 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.968e-05/0.009477, allocations: 8 kB / 261.6 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.009483, allocations: 3.938 kB / 261.6 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.849e-05/0.009572, allocations: 15.98 kB / 261.6 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.009609, allocations: 40.09 kB / 261.6 MB, free: 13.2 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.0002781/0.009887, allocations: 389.2 kB / 262 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.009934, allocations: 55.81 kB / 262.1 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.01001, allocations: 55.09 kB / 262.1 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01002, allocations: 7.984 kB / 262.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01002, allocations: 0 / 262.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01002, allocations: 0 / 262.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006523/0.01068, allocations: 0.8368 MB / 263 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.01068, allocations: 4 kB / 263 MB, free: 11.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.01069, allocations: 7.938 kB / 263 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01069, allocations: 0 / 263 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01071, allocations: 15.98 kB / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01071, allocations: 0 / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01071, allocations: 0 / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.01113, allocations: 0.6652 MB / 263.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.01136, allocations: 185.2 kB / 263.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.01139, allocations: 12 kB / 263.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.01147, allocations: 11.98 kB / 263.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.01154, allocations: 23.98 kB / 263.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.01157, allocations: 47.92 kB / 263.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002246/0.0118, allocations: 306.9 kB / 264.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0118, allocations: 0 / 264.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.01198, allocations: 40 kB / 264.3 MB, free: 10.37 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 8.74e-05/0.01207, allocations: 111 kB / 264.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.0124, allocations: 0.5691 MB / 265 MB, free: 9.578 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.0124, allocations: 3.938 kB / 265 MB, free: 9.574 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.0126, allocations: 418.1 kB / 265.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.01303, allocations: 132 kB / 265.5 MB, free: 8.969 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.01375, allocations: 0.7399 MB / 266.2 MB, free: 8.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.532e-05/0.01382, allocations: 99.2 kB / 266.3 MB, free: 8.062 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.01385, allocations: 12.7 kB / 266.3 MB, free: 8.047 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.01407, allocations: 170.5 kB / 266.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01407, allocations: 0 / 266.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of Templates: time 0.00568/0.01975, allocations: 4.51 MB / 271 MB, free: 3.379 MB / 250.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8437576820142567]