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.00104/0.00104, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009537/0.0009537, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9217/0.9217, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.683e-06/1.683e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.893e-05, allocations: 13.2 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002142/0.002171, allocations: 1.525 MB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.004203, allocations: 0.8652 MB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.004266, allocations: 4 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.004369, allocations: 11.92 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.004451, allocations: 15.84 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.004725, allocations: 51.88 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.004894, allocations: 127.7 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004997, allocations: 16.16 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000553/0.00555, allocations: 0.5927 MB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.005698, allocations: 67.77 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.005735, allocations: 12 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.517e-05/0.00576, allocations: 12 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.005838, allocations: 71.7 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.005914, allocations: 59.72 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.006155, allocations: 282.9 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.006158, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.00616, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.006166, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 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.0005814/0.006747, allocations: 0.7824 MB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.006784, allocations: 11.98 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.006861, allocations: 44.7 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.007052, allocations: 215 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.007071, allocations: 8.375 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.007091, allocations: 8.375 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.007379, allocations: 253.6 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.007387, allocations: 192 / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.007405, allocations: 8.359 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.007415, allocations: 7.938 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.00752, allocations: 166.8 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.008064, allocations: 0.4954 MB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.008211, allocations: 189.8 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.008319, allocations: 174.5 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.008328, allocations: 7.938 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.008538, allocations: 327 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.008539, allocations: 0 / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005741/0.009113, allocations: 0.6891 MB / 280 MB, free: 9.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.009173, allocations: 170.1 kB / 280.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.009699, allocations: 0.6272 MB / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.009721, allocations: 29.7 kB / 280.8 MB, free: 9.117 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.009799, allocations: 159.8 kB / 280.9 MB, free: 8.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.009824, allocations: 15.86 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.009906, allocations: 95.16 kB / 281.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.01002, allocations: 0.4923 MB / 281.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.01012, allocations: 162.8 kB / 281.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.01023, allocations: 190.1 kB / 281.9 MB, free: 7.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.01055, allocations: 336.9 kB / 282.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.01055, allocations: 0 / 282.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003524/0.0109, allocations: 495.1 kB / 282.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/0.01096, allocations: 133.8 kB / 282.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.01097, allocations: 0 / 282.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01098, allocations: 0 / 282.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.077e-05/0.011, allocations: 4.062 kB / 282.8 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.01101, allocations: 4 kB / 282.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.469e-05/0.0111, allocations: 16 kB / 282.9 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.01115, allocations: 59.92 kB / 282.9 MB, free: 6.77 MB / 266.7 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.0002189/0.01137, allocations: 389.2 kB / 283.3 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.01142, allocations: 55.69 kB / 283.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.938e-05/0.01149, allocations: 55.09 kB / 283.4 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01149, allocations: 4 kB / 283.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01149, allocations: 0 / 283.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.0115, allocations: 0 / 283.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.01227, allocations: 0.9517 MB / 284.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01227, allocations: 0 / 284.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.662e-06/0.01228, allocations: 0 / 284.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01228, allocations: 4 kB / 284.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.0123, allocations: 15.98 kB / 284.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.01231, allocations: 4 kB / 284.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01231, allocations: 0 / 284.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.01275, allocations: 0.712 MB / 285.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.01297, allocations: 185.4 kB / 285.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.01301, allocations: 12 kB / 285.3 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.01309, allocations: 8 kB / 285.3 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.01319, allocations: 27.97 kB / 285.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.01323, allocations: 55.98 kB / 285.4 MB, free: 4.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000335/0.01357, allocations: 430.7 kB / 285.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01357, allocations: 0 / 285.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.01384, allocations: 40 kB / 285.8 MB, free: 3.656 MB / 266.7 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.0001409/0.01398, allocations: 118.4 kB / 286 MB, free: 3.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005506/0.01453, allocations: 0.6003 MB / 286.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01453, allocations: 0 / 286.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.01485, allocations: 427.9 kB / 287 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.01543, allocations: 133.2 kB / 287.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.01661, allocations: 0.7486 MB / 287.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.01672, allocations: 95.33 kB / 287.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.192e-05/0.01678, allocations: 12.72 kB / 288 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.01682, allocations: 16.5 kB / 288 MB, free: 1.258 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01682, allocations: 0 / 288 MB, free: 1.258 MB / 266.7 MB Notification: Performance of Templates: time 0.006545/0.02336, allocations: 5.005 MB / 293 MB, free: 12.21 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.845052652992308]