Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.001594/0.001594, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001225/0.001225, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 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.9776/0.9776, allocations: 177 MB / 205.9 MB, free: 4.453 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.131e-05, allocations: 3.125 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00519/0.005211, allocations: 1.517 MB / 275.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.006843, allocations: 0.8634 MB / 276.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.006891, allocations: 3.938 kB / 276.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.911e-05/0.00698, allocations: 7.922 kB / 276.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.644e-05/0.007056, allocations: 17.89 kB / 276.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.007277, allocations: 47.88 kB / 276.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.01047, allocations: 139.7 kB / 276.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.01056, allocations: 16.16 kB / 276.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.01112, allocations: 0.5895 MB / 277.3 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.01124, allocations: 72.64 kB / 277.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.01128, allocations: 8 kB / 277.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.472e-05/0.0113, allocations: 12 kB / 277.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.01138, allocations: 69.25 kB / 277.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.01145, allocations: 47.8 kB / 277.5 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.01172, allocations: 290.8 kB / 277.8 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01172, allocations: 0 / 277.8 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01172, allocations: 0.7812 kB / 277.8 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.01173, allocations: 0 / 277.8 MB, free: 0.5938 MB / 250.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.0006519/0.01238, allocations: 0.783 MB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.01241, allocations: 12.03 kB / 278.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.01248, allocations: 51.17 kB / 278.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.01268, allocations: 215 kB / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.01269, allocations: 8.375 kB / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.01272, allocations: 8.375 kB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.01298, allocations: 237.6 kB / 279.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.01299, allocations: 4.188 kB / 279.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.01301, allocations: 4.375 kB / 279.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.01301, allocations: 7.938 kB / 279.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.01312, allocations: 154.8 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.01662, allocations: 412 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.01677, allocations: 185.8 kB / 279.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.01689, allocations: 158.5 kB / 280 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.0169, allocations: 0 / 280 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.01713, allocations: 327 kB / 280.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.01713, allocations: 4 kB / 280.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00063/0.01776, allocations: 0.6543 MB / 281 MB, free: 13.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.01783, allocations: 170.2 kB / 281.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.01837, allocations: 0.5022 MB / 281.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.0184, allocations: 33.7 kB / 281.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.01846, allocations: 147.8 kB / 281.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.0185, allocations: 35.72 kB / 281.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/0.01859, allocations: 83.2 kB / 281.9 MB, free: 12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.01871, allocations: 0.4923 MB / 282.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.01882, allocations: 154.8 kB / 282.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01893, allocations: 178.1 kB / 282.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/0.02215, allocations: 332.4 kB / 283.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.02215, allocations: 0 / 283.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004385/0.02259, allocations: 479 kB / 283.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/0.02266, allocations: 126.8 kB / 283.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.02267, allocations: 0 / 283.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.02268, allocations: 0 / 283.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-05/0.02269, allocations: 4 kB / 283.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.0227, allocations: 7.969 kB / 283.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.0228, allocations: 11.98 kB / 283.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.02286, allocations: 55.94 kB / 283.8 MB, free: 9.988 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003047/0.02316, allocations: 393.3 kB / 284.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.02322, allocations: 55.69 kB / 284.2 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.399e-05/0.02332, allocations: 51.09 kB / 284.2 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.02332, allocations: 4 kB / 284.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02332, allocations: 0 / 284.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.02332, allocations: 0 / 284.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/0.02409, allocations: 0.8547 MB / 285.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.02409, allocations: 0 / 285.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.02409, allocations: 3.938 kB / 285.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.0241, allocations: 4 kB / 285.1 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.02412, allocations: 8.188 kB / 285.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.02412, allocations: 4 kB / 285.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02412, allocations: 4 kB / 285.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.02463, allocations: 0.6847 MB / 285.8 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.02493, allocations: 181.4 kB / 286 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.02497, allocations: 15.94 kB / 286 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/0.02808, allocations: 12 kB / 286 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.02815, allocations: 19.97 kB / 286 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.0282, allocations: 56 kB / 286.1 MB, free: 7.465 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002733/0.02847, allocations: 302.9 kB / 286.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02847, allocations: 0 / 286.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.02874, allocations: 44 kB / 286.4 MB, free: 7.129 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001167/0.02886, allocations: 115 kB / 286.5 MB, free: 7.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.02925, allocations: 0.5653 MB / 287.1 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02926, allocations: 64 / 287.1 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.02948, allocations: 423.5 kB / 287.5 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.02995, allocations: 128.6 kB / 287.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000932/0.03088, allocations: 0.733 MB / 288.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.618e-05/0.03098, allocations: 103.1 kB / 288.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003047/0.03402, allocations: 8.719 kB / 288.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.03435, allocations: 198 kB / 288.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03435, allocations: 0 / 288.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of Templates: time 0.00715/0.0415, allocations: 4.809 MB / 293.5 MB, free: 15.8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.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.8379172259010375]