Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00235/0.00235, allocations: 91.61 kB / 20.96 MB, free: 3.469 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.00256/0.00256, allocations: 169.3 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.557e-05, allocations: 6.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002998/0.003024, allocations: 1.518 MB / 273.8 MB, free: 308 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.005198, allocations: 0.8381 MB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.005247, allocations: 4 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.005353, allocations: 11.86 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.005446, allocations: 27.78 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.005721, allocations: 47.88 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.005968, allocations: 139.7 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.006069, allocations: 23.97 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007912/0.00686, allocations: 403.2 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.006992, allocations: 59.83 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.007045, allocations: 8 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.007093, allocations: 12 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.007191, allocations: 71.64 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.007295, allocations: 51.8 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.007763, allocations: 354.8 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.007767, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007768, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.007774, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.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.001054/0.008828, allocations: 0.8133 MB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.008865, allocations: 8.031 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.00897, allocations: 44.7 kB / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.0093, allocations: 218.9 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.009322, allocations: 4.375 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.009352, allocations: 12.38 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.009812, allocations: 252.9 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.009822, allocations: 192 / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.009847, allocations: 4.375 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.009853, allocations: 3.938 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.0101, allocations: 182.8 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009591/0.01106, allocations: 0.5384 MB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.01136, allocations: 209.8 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.0116, allocations: 194.6 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.01163, allocations: 11.88 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004464/0.01207, allocations: 331.2 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.01208, allocations: 0 / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00113/0.01321, allocations: 0.7203 MB / 279.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.01334, allocations: 174.2 kB / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.01441, allocations: 0.6975 MB / 280.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.01445, allocations: 29.7 kB / 280.3 MB, free: 9.422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.01458, allocations: 151.8 kB / 280.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.01463, allocations: 31.78 kB / 280.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.01477, allocations: 95.16 kB / 280.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002792/0.01505, allocations: 0.504 MB / 281 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.01528, allocations: 174.8 kB / 281.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.01553, allocations: 204.8 kB / 281.4 MB, free: 8.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.01596, allocations: 369 kB / 281.8 MB, free: 7.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01596, allocations: 0 / 281.8 MB, free: 7.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009591/0.01692, allocations: 0.5069 MB / 282.3 MB, free: 7.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.01704, allocations: 126.8 kB / 282.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01704, allocations: 0 / 282.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01706, allocations: 4 kB / 282.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.95e-05/0.01708, allocations: 0 / 282.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01708, allocations: 208 / 282.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.01721, allocations: 15.98 kB / 282.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.01728, allocations: 43.98 kB / 282.5 MB, free: 7 MB / 266.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.0004394/0.01771, allocations: 397.1 kB / 282.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/0.0178, allocations: 55.73 kB / 282.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.0179, allocations: 55.09 kB / 283 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.0179, allocations: 0 / 283 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01791, allocations: 3.938 kB / 283 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01791, allocations: 0 / 283 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.01935, allocations: 1.034 MB / 284 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01935, allocations: 0 / 284 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-06/0.01936, allocations: 0 / 284 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.01936, allocations: 4 kB / 284 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.01939, allocations: 11.98 kB / 284 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.0194, allocations: 0 / 284 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.0194, allocations: 4 kB / 284 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.02034, allocations: 0.7393 MB / 284.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.02077, allocations: 185.3 kB / 284.9 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.02082, allocations: 12 kB / 285 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.02095, allocations: 8 kB / 285 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.02107, allocations: 31.95 kB / 285 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.02113, allocations: 47.92 kB / 285 MB, free: 4.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006582/0.02179, allocations: 454.7 kB / 285.5 MB, free: 3.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02179, allocations: 0 / 285.5 MB, free: 3.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.02209, allocations: 47.94 kB / 285.5 MB, free: 3.754 MB / 266.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.0001581/0.02225, allocations: 115 kB / 285.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008095/0.02306, allocations: 0.6513 MB / 286.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02306, allocations: 0 / 286.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.02355, allocations: 464 kB / 286.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.02423, allocations: 137.5 kB / 286.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.02556, allocations: 0.7717 MB / 287.7 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.02583, allocations: 185.8 kB / 287.8 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.741e-05/0.02587, allocations: 12.7 kB / 287.9 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.0259, allocations: 12.5 kB / 287.9 MB, free: 1.168 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0259, allocations: 0 / 287.9 MB, free: 1.168 MB / 266.7 MB Notification: Performance of Templates: time 0.01009/0.03599, allocations: 4.754 MB / 292.6 MB, free: 12.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.528614397044294]