Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001343/0.001343, 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.001411/0.001411, allocations: 213.6 kB / 24.49 MB, free: 3.934 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 43.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2252, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002578/0.2278, allocations: 1.495 MB / 433.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.2297, allocations: 0.8304 MB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.2297, allocations: 0 / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.324e-05/0.2298, allocations: 11.88 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.2299, allocations: 19.84 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.2301, allocations: 51.89 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.2303, allocations: 135.7 kB / 434.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.2304, allocations: 12.22 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006287/0.231, allocations: 0.581 MB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2312, allocations: 71.7 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.2312, allocations: 16 kB / 435.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/0.2312, allocations: 8 kB / 435.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.74e-05/0.2313, allocations: 63.77 kB / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2314, allocations: 91.27 kB / 435.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.2318, allocations: 373.1 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2318, allocations: 0 / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2318, allocations: 0 / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2318, allocations: 3.938 kB / 436.1 MB, free: 2.949 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.0007595/0.2326, allocations: 0.6592 MB / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2326, allocations: 8.031 kB / 436.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.121e-05/0.2327, allocations: 36.7 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.233, allocations: 224.8 kB / 437 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.233, allocations: 8.312 kB / 437 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.233, allocations: 8.375 kB / 437 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.2334, allocations: 244.7 kB / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2334, allocations: 0 / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.2334, allocations: 11.98 kB / 437.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2334, allocations: 0 / 437.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.2337, allocations: 174.8 kB / 437.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.2343, allocations: 384.2 kB / 437.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.2345, allocations: 193.3 kB / 438 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.2347, allocations: 187.7 kB / 438.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.2348, allocations: 112 / 438.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.2352, allocations: 337.5 kB / 438.5 MB, free: 240 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.2352, allocations: 0 / 438.5 MB, free: 240 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009869/0.2361, allocations: 0.697 MB / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/0.2362, allocations: 170.2 kB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/0.2369, allocations: 0.513 MB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.2369, allocations: 25.7 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.237, allocations: 109.1 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.237, allocations: 31.73 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.2372, allocations: 85.55 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2373, allocations: 318.8 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.2375, allocations: 174.8 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.2377, allocations: 196.5 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.2381, allocations: 354.2 kB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2381, allocations: 0 / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006515/0.2387, allocations: 0.5069 MB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.616e-05/0.2388, allocations: 130.8 kB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2388, allocations: 0 / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2389, allocations: 4.031 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-05/0.2389, allocations: 4.125 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2389, allocations: 4 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.239, allocations: 11.98 kB / 441.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.2391, allocations: 56.02 kB / 441.9 MB, free: 12.54 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.000356/0.2394, allocations: 370.3 kB / 442.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.2395, allocations: 43.69 kB / 442.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.2396, allocations: 67.09 kB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2396, allocations: 0 / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2396, allocations: 7.984 kB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.24, allocations: 201.4 kB / 442.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.24, allocations: 12 kB / 442.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.2401, allocations: 8 kB / 442.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2402, allocations: 35.83 kB / 442.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008414/0.2411, allocations: 0.8165 MB / 443.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000806/0.2419, allocations: 0.7383 MB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002376/0.2421, allocations: 198.8 kB / 444.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004857/0.2426, allocations: 386.9 kB / 444.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of Backend: time 5.71e-07/0.2426, allocations: 0 / 444.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007268/0.2433, allocations: 0.4988 MB / 445.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of SimCode: time 0.00139/0.2447, allocations: 1.313 MB / 446.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of Templates: time 0.007693/0.2524, allocations: 4.477 MB / 451 MB, free: 2.945 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.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.2937082089993055]