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.001718/0.001718, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001709/0.001709, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.461/1.461, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001507/0.001507, allocations: 47.92 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2389, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003786/0.2427, allocations: 1.543 MB / 425.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.2455, allocations: 0.8498 MB / 426.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.2456, allocations: 4 kB / 426.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2457, allocations: 11.92 kB / 426.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2458, allocations: 23.8 kB / 426.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.2461, allocations: 51.88 kB / 426.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.2464, allocations: 135.7 kB / 426.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2465, allocations: 15.98 kB / 426.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.2471, allocations: 391.2 kB / 426.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.2473, allocations: 67.75 kB / 427 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.2474, allocations: 8 kB / 427 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.777e-05/0.2474, allocations: 12 kB / 427 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2475, allocations: 67.64 kB / 427 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.2477, allocations: 115.2 kB / 427.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.2482, allocations: 363.7 kB / 427.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2482, allocations: 0 / 427.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2482, allocations: 0 / 427.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2482, allocations: 0 / 427.5 MB, free: 11.04 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.001012/0.2492, allocations: 0.6513 MB / 428.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2493, allocations: 11.97 kB / 428.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/0.2494, allocations: 40.7 kB / 428.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.2497, allocations: 220.8 kB / 428.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.2498, allocations: 12.38 kB / 428.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.2498, allocations: 8.375 kB / 428.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.2502, allocations: 125.2 kB / 428.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2503, allocations: 0 / 428.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.2503, allocations: 4 kB / 428.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2503, allocations: 0 / 428.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.2505, allocations: 59.95 kB / 428.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.2515, allocations: 431.5 kB / 429.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.2517, allocations: 74.55 kB / 429.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.2519, allocations: 60.89 kB / 429.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.252, allocations: 7.875 kB / 429.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.2525, allocations: 198.7 kB / 429.4 MB, free: 9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.2525, allocations: 0 / 429.4 MB, free: 9 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001186/0.2537, allocations: 460.1 kB / 429.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.2538, allocations: 174.2 kB / 430 MB, free: 8.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009708/0.2548, allocations: 0.5168 MB / 430.5 MB, free: 7.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.2548, allocations: 37.64 kB / 430.6 MB, free: 7.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.2549, allocations: 97.12 kB / 430.7 MB, free: 7.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.2549, allocations: 27.8 kB / 430.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.2551, allocations: 77.56 kB / 430.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2553, allocations: 326.8 kB / 431.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2555, allocations: 59.97 kB / 431.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.2557, allocations: 69.67 kB / 431.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.2562, allocations: 347.4 kB / 431.5 MB, free: 6.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2562, allocations: 0 / 431.5 MB, free: 6.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000818/0.257, allocations: 371.3 kB / 431.9 MB, free: 6.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.2572, allocations: 126.2 kB / 432 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2572, allocations: 112 / 432 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2572, allocations: 3.938 kB / 432 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.744e-05/0.2572, allocations: 15.95 kB / 432 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2572, allocations: 4 kB / 432.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.2574, allocations: 8 kB / 432.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.2575, allocations: 43.92 kB / 432.1 MB, free: 6.07 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.000563/0.2581, allocations: 354.3 kB / 432.4 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.2581, allocations: 43.75 kB / 432.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.2583, allocations: 71.06 kB / 432.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2583, allocations: 4 kB / 432.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2583, allocations: 4 kB / 432.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2583, allocations: 0 / 432.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.2599, allocations: 0.7773 MB / 433.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2599, allocations: 0 / 433.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-06/0.2599, allocations: 0 / 433.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.2599, allocations: 0 / 433.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.2599, allocations: 11.98 kB / 433.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2599, allocations: 0 / 433.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.2599, allocations: 7.938 kB / 433.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.2609, allocations: 0.5254 MB / 433.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/0.2615, allocations: 213.3 kB / 434.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/0.2616, allocations: 8 kB / 434.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.2619, allocations: 8.25 kB / 434.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.262, allocations: 31.91 kB / 434.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-05/0.2621, allocations: 43.98 kB / 434.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007498/0.2628, allocations: 394.8 kB / 434.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2628, allocations: 0 / 434.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005396/0.2634, allocations: 51.94 kB / 434.6 MB, free: 3.395 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.000174/0.2636, allocations: 111 kB / 434.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007364/0.2643, allocations: 369.5 kB / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2643, allocations: 0 / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.2648, allocations: 305.5 kB / 435.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.2658, allocations: 121.5 kB / 435.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2675, allocations: 0.7018 MB / 436.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.2682, allocations: 0.806 MB / 437 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.2682, allocations: 11.44 kB / 437 MB, free: 0.832 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2682, allocations: 0 / 437 MB, free: 0.832 MB / 334.1 MB Notification: Performance of Templates: time 0.006854/0.2751, allocations: 2.481 MB / 439.5 MB, free: 14.36 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.486805660184473]