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.001307/0.001307, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 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.001431/0.001431, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 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 0.001554/0.001554, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.217, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002672/0.2197, allocations: 1.506 MB / 433.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.2216, allocations: 0.8342 MB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.2216, allocations: 0 / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.432e-05/0.2217, allocations: 15.86 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.2218, allocations: 15.88 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.2221, allocations: 59.86 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.2223, allocations: 131.7 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.2224, allocations: 16 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.2228, allocations: 399.2 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2229, allocations: 63.75 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.223, allocations: 8 kB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.371e-05/0.223, allocations: 12 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.2231, allocations: 67.7 kB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2232, allocations: 83.36 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.2236, allocations: 365.2 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2236, allocations: 0 / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2236, allocations: 0 / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2236, allocations: 0 / 435.9 MB, free: 3.148 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.0007616/0.2243, allocations: 0.6513 MB / 436.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2244, allocations: 8.031 kB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.2245, allocations: 40.7 kB / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.2247, allocations: 216.8 kB / 436.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2248, allocations: 8.375 kB / 436.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.2248, allocations: 12.38 kB / 436.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.2252, allocations: 248.7 kB / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2252, allocations: 0 / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.2252, allocations: 4 kB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2252, allocations: 0 / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.2254, allocations: 174.8 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.2261, allocations: 392.1 kB / 437.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.2263, allocations: 193.3 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.2265, allocations: 179.7 kB / 438 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.2265, allocations: 4 kB / 438 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/0.227, allocations: 321.5 kB / 438.3 MB, free: 468 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.227, allocations: 0 / 438.3 MB, free: 468 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009737/0.2279, allocations: 0.6924 MB / 439 MB, free: 15.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.228, allocations: 170.2 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.2287, allocations: 0.5129 MB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.2287, allocations: 37.69 kB / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.2288, allocations: 93.14 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.2289, allocations: 31.77 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.229, allocations: 85.45 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2291, allocations: 330.8 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.2293, allocations: 174.8 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.2295, allocations: 192.5 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.2299, allocations: 347.3 kB / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2299, allocations: 4 kB / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006443/0.2306, allocations: 0.4913 MB / 441.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.2307, allocations: 126.8 kB / 441.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2307, allocations: 112 / 441.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2307, allocations: 3.938 kB / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.947e-05/0.2307, allocations: 0 / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2307, allocations: 8.031 kB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2309, allocations: 19.94 kB / 441.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.2309, allocations: 36 kB / 441.6 MB, free: 12.8 MB / 350.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.000361/0.2313, allocations: 366.2 kB / 442 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.2313, allocations: 35.77 kB / 442 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.2314, allocations: 75.06 kB / 442.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2314, allocations: 0 / 442.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2314, allocations: 0 / 442.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.2318, allocations: 197.4 kB / 442.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.2319, allocations: 8 kB / 442.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.232, allocations: 15.98 kB / 442.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2321, allocations: 23.92 kB / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008416/0.2329, allocations: 0.8126 MB / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007979/0.2337, allocations: 0.7255 MB / 443.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002345/0.234, allocations: 194.8 kB / 444 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000489/0.2345, allocations: 390.9 kB / 444.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.2345, allocations: 0 / 444.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007434/0.2352, allocations: 0.491 MB / 444.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of SimCode: time 0.001503/0.2367, allocations: 1.324 MB / 446.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Templates: time 0.007746/0.2445, allocations: 4.262 MB / 450.5 MB, free: 3.551 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/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.240207681003085]