Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001603/0.001603, 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.001727/0.001727, 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.436/1.436, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 47.92 kB / 371.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2325, allocations: 52.18 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002761/0.2353, allocations: 1.529 MB / 425.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.2372, allocations: 0.8576 MB / 426.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.2373, allocations: 3.938 kB / 426.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.968e-05/0.2374, allocations: 15.86 kB / 426.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.2375, allocations: 19.86 kB / 426.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.2377, allocations: 51.88 kB / 426.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2379, allocations: 131.7 kB / 426.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.238, allocations: 12.23 kB / 426.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000668/0.2387, allocations: 0.5771 MB / 427.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.2388, allocations: 79.69 kB / 427.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.2389, allocations: 12 kB / 427.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.961e-05/0.2389, allocations: 8 kB / 427.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.239, allocations: 67.75 kB / 427.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.2391, allocations: 115.1 kB / 427.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.2395, allocations: 371.7 kB / 427.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2395, allocations: 0 / 427.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.2396, allocations: 4 kB / 427.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2396, allocations: 4 kB / 427.7 MB, free: 10.85 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.0008101/0.2404, allocations: 0.6552 MB / 428.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2404, allocations: 8.031 kB / 428.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.2405, allocations: 40.7 kB / 428.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.2408, allocations: 212.9 kB / 428.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2408, allocations: 4.375 kB / 428.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.2408, allocations: 16.31 kB / 428.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.2411, allocations: 125.9 kB / 428.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.2411, allocations: 0 / 428.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.2412, allocations: 8 kB / 428.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2412, allocations: 0 / 428.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.2413, allocations: 63.95 kB / 428.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.242, allocations: 431.5 kB / 429.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.2422, allocations: 78.48 kB / 429.3 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.2423, allocations: 60.89 kB / 429.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-06/0.2423, allocations: 4 kB / 429.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003607/0.2427, allocations: 209.9 kB / 429.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2427, allocations: 3.938 kB / 429.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008119/0.2435, allocations: 472.3 kB / 430.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.2436, allocations: 170.2 kB / 430.2 MB, free: 8.094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006726/0.2443, allocations: 0.5129 MB / 430.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.2444, allocations: 29.7 kB / 430.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.2444, allocations: 105.1 kB / 430.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.2445, allocations: 35.67 kB / 430.9 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2446, allocations: 81.56 kB / 431 MB, free: 7.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2448, allocations: 322.8 kB / 431.3 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2449, allocations: 59.97 kB / 431.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.245, allocations: 73.62 kB / 431.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.2454, allocations: 347.3 kB / 431.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2454, allocations: 0 / 431.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005702/0.246, allocations: 384.3 kB / 432.2 MB, free: 6.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.2461, allocations: 125.3 kB / 432.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2461, allocations: 0 / 432.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2461, allocations: 4 kB / 432.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-05/0.2461, allocations: 0 / 432.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2461, allocations: 0 / 432.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.2463, allocations: 16.11 kB / 432.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.2463, allocations: 63.97 kB / 432.4 MB, free: 5.82 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.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.0003814/0.2467, allocations: 366.4 kB / 432.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.2468, allocations: 39.77 kB / 432.8 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.2469, allocations: 71.06 kB / 432.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2469, allocations: 0 / 432.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2469, allocations: 0 / 432.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2469, allocations: 0 / 432.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.2479, allocations: 0.7961 MB / 433.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2479, allocations: 0 / 433.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-06/0.2479, allocations: 4 kB / 433.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2479, allocations: 0 / 433.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.248, allocations: 16 kB / 433.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.248, allocations: 3.984 kB / 433.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.248, allocations: 7.875 kB / 433.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.2487, allocations: 0.5254 MB / 434.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.2491, allocations: 217.3 kB / 434.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.2491, allocations: 8 kB / 434.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2493, allocations: 12 kB / 434.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.2494, allocations: 31.91 kB / 434.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.095e-05/0.2494, allocations: 55.94 kB / 434.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004953/0.2499, allocations: 390.9 kB / 434.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2499, allocations: 0 / 434.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000301/0.2502, allocations: 47.94 kB / 434.9 MB, free: 3.105 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001372/0.2504, allocations: 117.8 kB / 435 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.2509, allocations: 385.5 kB / 435.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2509, allocations: 0 / 435.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.2512, allocations: 301.6 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.2518, allocations: 115.4 kB / 435.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.253, allocations: 0.7017 MB / 436.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.2535, allocations: 0.8099 MB / 437.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.2535, allocations: 15.38 kB / 437.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2535, allocations: 0 / 437.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of Templates: time 0.004791/0.2583, allocations: 2.654 MB / 440 MB, free: 13.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.456451091915369]