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.001372/0.001372, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001499/0.001499, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.432/1.432, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.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 0.001999/0.001999, allocations: 63.91 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.258, allocations: 53.4 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003055/0.2611, allocations: 1.483 MB / 433.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.2633, allocations: 0.842 MB / 434.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.2633, allocations: 0 / 434.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.2635, allocations: 7.922 kB / 434.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.778e-05/0.2636, allocations: 23.8 kB / 434.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.2638, allocations: 51.89 kB / 434.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.2641, allocations: 127.8 kB / 434.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2642, allocations: 16.2 kB / 434.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006858/0.2649, allocations: 0.5771 MB / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.265, allocations: 75.69 kB / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.2651, allocations: 8 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.095e-05/0.2651, allocations: 12 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.2652, allocations: 63.7 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2653, allocations: 83.3 kB / 435.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.2658, allocations: 385.1 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2658, allocations: 0 / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2658, allocations: 3.938 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2658, allocations: 0 / 436.1 MB, free: 2.773 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.0009366/0.2667, allocations: 0.6552 MB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2668, allocations: 15.98 kB / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.2668, allocations: 40.7 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.2671, allocations: 212.8 kB / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.2672, allocations: 8.375 kB / 437 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.2672, allocations: 8.375 kB / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.2676, allocations: 252.6 kB / 437.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2676, allocations: 4 kB / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2676, allocations: 4 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2676, allocations: 0 / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.2679, allocations: 178.8 kB / 437.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.2686, allocations: 388.2 kB / 437.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.2688, allocations: 197.3 kB / 438.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.2691, allocations: 179.7 kB / 438.2 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.2691, allocations: 4 kB / 438.2 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.2696, allocations: 325.6 kB / 438.6 MB, free: 64 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.2696, allocations: 4 kB / 438.6 MB, free: 60 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001078/0.2706, allocations: 0.7048 MB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.2708, allocations: 166.2 kB / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.2715, allocations: 0.5052 MB / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.2715, allocations: 37.8 kB / 440 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.2716, allocations: 101 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.2716, allocations: 35.69 kB / 440.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.2718, allocations: 77.56 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2719, allocations: 330.8 kB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.2721, allocations: 178.8 kB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.2723, allocations: 203.4 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.2727, allocations: 350.5 kB / 441.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2727, allocations: 0 / 441.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006659/0.2734, allocations: 0.5108 MB / 441.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.2735, allocations: 125.5 kB / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2735, allocations: 0 / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2735, allocations: 0 / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-05/0.2735, allocations: 4 kB / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2735, allocations: 0 / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2737, allocations: 20.02 kB / 441.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.2737, allocations: 55.94 kB / 441.9 MB, free: 12.36 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.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.0003782/0.2741, allocations: 366.5 kB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.2742, allocations: 43.77 kB / 442.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2743, allocations: 67.08 kB / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2743, allocations: 4 kB / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2743, allocations: 0 / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2743, allocations: 0 / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2754, allocations: 0.8627 MB / 443.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2754, allocations: 0 / 443.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.2754, allocations: 4 kB / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2754, allocations: 0 / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.2755, allocations: 19.98 kB / 443.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2755, allocations: 0 / 443.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2755, allocations: 0 / 443.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.2763, allocations: 0.664 MB / 443.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.2767, allocations: 209.3 kB / 444.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.2767, allocations: 4 kB / 444.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2769, allocations: 15.98 kB / 444.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.277, allocations: 23.97 kB / 444.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.2771, allocations: 56 kB / 444.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005029/0.2776, allocations: 390.9 kB / 444.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2776, allocations: 0 / 444.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.2779, allocations: 47.88 kB / 444.7 MB, free: 9.422 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,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.0001495/0.278, allocations: 115 kB / 444.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.2787, allocations: 0.6124 MB / 445.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2787, allocations: 0 / 445.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.2791, allocations: 424.6 kB / 445.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.2798, allocations: 127.3 kB / 445.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.281, allocations: 0.81 MB / 446.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.2813, allocations: 189.7 kB / 446.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.2813, allocations: 11.44 kB / 446.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2813, allocations: 0 / 446.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of Templates: time 0.005122/0.2864, allocations: 2.677 MB / 449.6 MB, free: 4.172 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.498383239842951]