Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 188.3 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 51.92 kB / 371.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2589, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002718/0.2616, allocations: 1.498 MB / 425.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.2635, allocations: 0.7992 MB / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.2636, allocations: 0 / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.16e-05/0.2637, allocations: 11.88 kB / 426.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.2637, allocations: 23.84 kB / 426.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.264, allocations: 47.89 kB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.2642, allocations: 139.7 kB / 426.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2643, allocations: 19.95 kB / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/0.2648, allocations: 387.3 kB / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.265, allocations: 71.64 kB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.265, allocations: 8 kB / 426.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.268e-05/0.265, allocations: 12 kB / 426.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.11e-05/0.2651, allocations: 59.77 kB / 426.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2652, allocations: 83.34 kB / 427 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.2656, allocations: 360.7 kB / 427.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2656, allocations: 0 / 427.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2656, allocations: 0 / 427.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2657, allocations: 4 kB / 427.3 MB, free: 10.96 MB / 334.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.0007921/0.2664, allocations: 0.663 MB / 428 MB, free: 10.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2665, allocations: 12.02 kB / 428 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.2666, allocations: 40.7 kB / 428 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.2669, allocations: 212.8 kB / 428.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.2669, allocations: 8.375 kB / 428.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.2669, allocations: 8.375 kB / 428.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.2673, allocations: 240.7 kB / 428.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2673, allocations: 0 / 428.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2673, allocations: 4 kB / 428.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2673, allocations: 4 kB / 428.5 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.2675, allocations: 182.7 kB / 428.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.2682, allocations: 384.2 kB / 429 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.2685, allocations: 193.3 kB / 429.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.2687, allocations: 183.7 kB / 429.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.2687, allocations: 3.938 kB / 429.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.2691, allocations: 313.6 kB / 429.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.486e-06/0.2691, allocations: 7.922 kB / 429.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001022/0.2702, allocations: 0.693 MB / 430.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.2703, allocations: 174.2 kB / 430.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.271, allocations: 0.513 MB / 431.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.271, allocations: 29.7 kB / 431.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.2711, allocations: 101.1 kB / 431.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.2711, allocations: 23.84 kB / 431.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2713, allocations: 81.56 kB / 431.3 MB, free: 6.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2714, allocations: 326.8 kB / 431.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.2716, allocations: 174.8 kB / 431.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.2719, allocations: 196.5 kB / 432 MB, free: 5.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.2722, allocations: 353.7 kB / 432.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2722, allocations: 4 kB / 432.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006901/0.2729, allocations: 0.4913 MB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.273, allocations: 130.8 kB / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.273, allocations: 0 / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2731, allocations: 0 / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.071e-05/0.2731, allocations: 0 / 433 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2731, allocations: 4 kB / 433 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.2732, allocations: 11.98 kB / 433 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.2733, allocations: 39.94 kB / 433 MB, free: 4.605 MB / 334.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.000385/0.2737, allocations: 366.3 kB / 433.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.2737, allocations: 39.77 kB / 433.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.2738, allocations: 63.09 kB / 433.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2738, allocations: 4 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2738, allocations: 0 / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2739, allocations: 3.984 kB / 433.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.275, allocations: 0.8587 MB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.275, allocations: 0 / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-06/0.275, allocations: 0 / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.275, allocations: 0 / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.275, allocations: 15.98 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.275, allocations: 4 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.275, allocations: 0 / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007984/0.2758, allocations: 0.655 MB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.2762, allocations: 201.3 kB / 435.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.2763, allocations: 12 kB / 435.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2764, allocations: 8 kB / 435.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2765, allocations: 23.97 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/0.2766, allocations: 40.17 kB / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005194/0.2771, allocations: 390.8 kB / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2771, allocations: 0 / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.2774, allocations: 55.94 kB / 435.8 MB, free: 1.707 MB / 334.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.0001454/0.2776, allocations: 111 kB / 435.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007126/0.2783, allocations: 0.6046 MB / 436.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2783, allocations: 0 / 436.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.2787, allocations: 428.4 kB / 436.9 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.2793, allocations: 124.1 kB / 437 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2806, allocations: 0.8178 MB / 437.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.2809, allocations: 197.6 kB / 438 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.2809, allocations: 15.42 kB / 438 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2809, allocations: 0 / 438 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Templates: time 0.004684/0.2856, allocations: 2.504 MB / 440.5 MB, free: 12.69 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.4847116861492395]