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.001819/0.001819, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002124/0.002124, allocations: 186 kB / 24.46 MB, free: 3.863 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.506/1.506, allocations: 225.7 MB / 253.3 MB, free: 12.85 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.001575/0.001575, allocations: 43.94 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2421, allocations: 52.19 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002649/0.2447, allocations: 1.474 MB / 425.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2466, allocations: 0.807 MB / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.2467, allocations: 0 / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2468, allocations: 11.92 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.049e-05/0.2469, allocations: 19.8 kB / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.2471, allocations: 59.81 kB / 426.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.2473, allocations: 123.8 kB / 426.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.2474, allocations: 12.22 kB / 426.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006567/0.2481, allocations: 0.5809 MB / 426.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.2482, allocations: 67.77 kB / 427 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.2483, allocations: 12 kB / 427 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.2483, allocations: 8 kB / 427 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2484, allocations: 75.62 kB / 427.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2485, allocations: 79.41 kB / 427.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.249, allocations: 377.1 kB / 427.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.249, allocations: 0 / 427.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.249, allocations: 4 kB / 427.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.249, allocations: 0 / 427.5 MB, free: 10.78 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.000842/0.2499, allocations: 0.6552 MB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2499, allocations: 8.031 kB / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.25, allocations: 40.7 kB / 428.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.2503, allocations: 220.8 kB / 428.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2503, allocations: 8.375 kB / 428.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.2503, allocations: 4.375 kB / 428.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.2507, allocations: 248.7 kB / 428.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2507, allocations: 3.938 kB / 428.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.2508, allocations: 3.938 kB / 428.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.2508, allocations: 11.98 kB / 428.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.251, allocations: 170.8 kB / 428.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.2517, allocations: 388.2 kB / 429.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.252, allocations: 193.3 kB / 429.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.2522, allocations: 183.7 kB / 429.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.2523, allocations: 0 / 429.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/0.2527, allocations: 325.5 kB / 429.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.2527, allocations: 0 / 429.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001023/0.2537, allocations: 0.7088 MB / 430.6 MB, free: 7.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2538, allocations: 174.2 kB / 430.8 MB, free: 7.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007165/0.2546, allocations: 0.5168 MB / 431.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.2546, allocations: 33.7 kB / 431.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.2547, allocations: 97.12 kB / 431.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.2547, allocations: 27.75 kB / 431.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.2548, allocations: 85.55 kB / 431.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.255, allocations: 326.8 kB / 431.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2552, allocations: 174.8 kB / 432.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.2554, allocations: 199.8 kB / 432.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.2559, allocations: 357.7 kB / 432.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2559, allocations: 4 kB / 432.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006672/0.2565, allocations: 0.4991 MB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2566, allocations: 126.9 kB / 433.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2566, allocations: 3.938 kB / 433.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2567, allocations: 4 kB / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-05/0.2567, allocations: 0 / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2567, allocations: 0 / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2568, allocations: 11.98 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.2569, allocations: 59.94 kB / 433.3 MB, free: 4.363 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.0004285/0.2573, allocations: 370.5 kB / 433.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.2574, allocations: 39.77 kB / 433.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.2575, allocations: 63.09 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2575, allocations: 0 / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2575, allocations: 0 / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2575, allocations: 3.984 kB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.2586, allocations: 0.8666 MB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2586, allocations: 0 / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-06/0.2586, allocations: 0 / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.2586, allocations: 4 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.2586, allocations: 19.98 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2586, allocations: 0 / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2586, allocations: 4 kB / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.2595, allocations: 0.6649 MB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.2599, allocations: 205.4 kB / 435.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.26, allocations: 12.06 kB / 435.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2601, allocations: 15.98 kB / 435.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2602, allocations: 19.98 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/0.2603, allocations: 63.92 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005073/0.2608, allocations: 382.9 kB / 436 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2608, allocations: 8 kB / 436 MB, free: 1.461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.2611, allocations: 47.88 kB / 436.1 MB, free: 1.414 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.0001554/0.2613, allocations: 113.6 kB / 436.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007109/0.262, allocations: 0.6085 MB / 436.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.262, allocations: 4 kB / 436.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.2624, allocations: 424.4 kB / 437.2 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.263, allocations: 121.8 kB / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2643, allocations: 0.8217 MB / 438.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.2645, allocations: 201.6 kB / 438.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.2646, allocations: 11.44 kB / 438.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2646, allocations: 0 / 438.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Templates: time 0.004826/0.2694, allocations: 2.672 MB / 441 MB, free: 12.16 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.4403917687013745]