Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 59.91 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2451, allocations: 53.41 MB / 432.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002951/0.248, allocations: 1.491 MB / 433.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2501, allocations: 0.8342 MB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.2502, allocations: 4 kB / 434.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.2503, allocations: 11.86 kB / 434.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.17e-05/0.2503, allocations: 15.86 kB / 434.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.2506, allocations: 59.88 kB / 434.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.2509, allocations: 131.7 kB / 434.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.251, allocations: 8.234 kB / 434.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.2517, allocations: 0.5771 MB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.2518, allocations: 75.62 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.2519, allocations: 8 kB / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.2519, allocations: 12 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.252, allocations: 63.75 kB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.2522, allocations: 83.3 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.2526, allocations: 381.1 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2526, allocations: 0 / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2526, allocations: 4 kB / 436.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2526, allocations: 0 / 436.1 MB, free: 2.789 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.0008282/0.2534, allocations: 0.6552 MB / 436.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2535, allocations: 15.98 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.036e-05/0.2535, allocations: 36.7 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.2539, allocations: 224.8 kB / 437.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2539, allocations: 4.375 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.2539, allocations: 8.375 kB / 437.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.2543, allocations: 244.7 kB / 437.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2544, allocations: 0 / 437.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.2544, allocations: 12 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2544, allocations: 0 / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.2546, allocations: 174.8 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.2553, allocations: 396.2 kB / 437.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.2555, allocations: 197.3 kB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.2557, allocations: 175.7 kB / 438.2 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.2558, allocations: 7.969 kB / 438.2 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.2562, allocations: 325.4 kB / 438.6 MB, free: 76 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2562, allocations: 0 / 438.6 MB, free: 76 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001023/0.2572, allocations: 0.7088 MB / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.2574, allocations: 170.2 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/0.2581, allocations: 0.5091 MB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.2581, allocations: 29.7 kB / 440 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.2582, allocations: 101.1 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.2582, allocations: 31.73 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.2583, allocations: 85.55 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2585, allocations: 326.8 kB / 440.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.2587, allocations: 174.9 kB / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.2589, allocations: 196.4 kB / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.2593, allocations: 358.7 kB / 441.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2593, allocations: 0 / 441.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006664/0.26, allocations: 0.5069 MB / 441.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.2601, allocations: 125 kB / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2601, allocations: 0 / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2601, allocations: 3.984 kB / 441.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.187e-05/0.2602, allocations: 4 kB / 441.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2602, allocations: 4 kB / 441.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.2603, allocations: 8 kB / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.2604, allocations: 63.95 kB / 441.9 MB, free: 12.37 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.0003977/0.2608, allocations: 371.2 kB / 442.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.2608, allocations: 39.77 kB / 442.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.2609, allocations: 67.08 kB / 442.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2609, allocations: 4 kB / 442.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.261, allocations: 0 / 442.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.261, allocations: 0 / 442.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2621, allocations: 0.8589 MB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2621, allocations: 0 / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.2621, allocations: 0 / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2621, allocations: 4 kB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.2621, allocations: 15.94 kB / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2621, allocations: 0 / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2621, allocations: 0 / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/0.2629, allocations: 0.657 MB / 443.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.2633, allocations: 209.4 kB / 444.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.2633, allocations: 8 kB / 444.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2635, allocations: 8 kB / 444.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2636, allocations: 31.91 kB / 444.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/0.2636, allocations: 52 kB / 444.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004981/0.2641, allocations: 394.8 kB / 444.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2641, allocations: 4 kB / 444.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.2644, allocations: 47.88 kB / 444.7 MB, free: 9.438 MB / 350.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.0001518/0.2646, allocations: 109.9 kB / 444.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007332/0.2653, allocations: 0.6203 MB / 445.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2653, allocations: 0 / 445.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.2657, allocations: 420.4 kB / 445.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.2664, allocations: 125.8 kB / 445.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2676, allocations: 0.8256 MB / 446.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2679, allocations: 189.7 kB / 446.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.2679, allocations: 11.44 kB / 447 MB, free: 6.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2679, allocations: 0 / 447 MB, free: 6.91 MB / 350.1 MB Notification: Performance of Templates: time 0.004902/0.2728, allocations: 2.681 MB / 449.6 MB, free: 4.176 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.634850497823209]