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.001231/0.001231, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001406/0.001406, allocations: 213.6 kB / 22.99 MB, free: 5.609 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.505/1.505, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.001975/0.001975, allocations: 67.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2612, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002681/0.2638, allocations: 1.526 MB / 431.3 MB, free: 6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.266, allocations: 0.8888 MB / 432.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.266, allocations: 0 / 432.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.2661, allocations: 11.88 kB / 432.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.2662, allocations: 23.84 kB / 432.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.2665, allocations: 51.88 kB / 432.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.2667, allocations: 127.7 kB / 432.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2668, allocations: 16.22 kB / 432.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006742/0.2675, allocations: 0.5771 MB / 433 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2676, allocations: 71.75 kB / 433.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.2677, allocations: 11.94 kB / 433.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.288e-05/0.2677, allocations: 8 kB / 433.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2678, allocations: 71.7 kB / 433.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.2679, allocations: 115.2 kB / 433.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.2683, allocations: 375.7 kB / 433.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2683, allocations: 0 / 433.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2683, allocations: 0 / 433.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2683, allocations: 0 / 433.7 MB, free: 3.66 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.0007911/0.2691, allocations: 0.7305 MB / 434.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2692, allocations: 12.03 kB / 434.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.071e-05/0.2692, allocations: 40.64 kB / 434.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2695, allocations: 278.6 kB / 434.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2695, allocations: 12.38 kB / 434.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.2696, allocations: 8.375 kB / 434.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.2699, allocations: 133.8 kB / 434.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2699, allocations: 0 / 434.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.2699, allocations: 4 kB / 434.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2699, allocations: 4 kB / 434.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.2701, allocations: 55.97 kB / 434.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/0.2708, allocations: 468.5 kB / 435.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.2709, allocations: 74.55 kB / 435.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2711, allocations: 64.89 kB / 435.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.2711, allocations: 3.984 kB / 435.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.2715, allocations: 210.8 kB / 435.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2715, allocations: 0 / 435.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009043/0.2724, allocations: 483.1 kB / 436.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.2725, allocations: 170.2 kB / 436.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.2731, allocations: 0.513 MB / 436.9 MB, free: 160 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.2732, allocations: 29.7 kB / 436.9 MB, free: 124 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.2732, allocations: 101.1 kB / 437 MB, free: 20 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.2733, allocations: 31.78 kB / 437 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.2734, allocations: 89.45 kB / 437.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2736, allocations: 326.8 kB / 437.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2737, allocations: 59.97 kB / 437.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.2739, allocations: 76.34 kB / 437.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.2742, allocations: 339.3 kB / 437.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2742, allocations: 0 / 437.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005629/0.2748, allocations: 392.3 kB / 438.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.2749, allocations: 126.8 kB / 438.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2749, allocations: 128 / 438.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2749, allocations: 4.031 kB / 438.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-05/0.2749, allocations: 4.109 kB / 438.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2749, allocations: 7.938 kB / 438.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.2751, allocations: 8 kB / 438.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.2751, allocations: 59.92 kB / 438.5 MB, free: 14.4 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.0003534/0.2755, allocations: 362.7 kB / 438.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.2755, allocations: 43.77 kB / 438.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.2757, allocations: 63.14 kB / 439 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2757, allocations: 4 kB / 439 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2757, allocations: 4 kB / 439 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2757, allocations: 0 / 439 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.2767, allocations: 0.8173 MB / 439.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2767, allocations: 3.938 kB / 439.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-06/0.2767, allocations: 0 / 439.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2767, allocations: 0 / 439.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.2767, allocations: 15.98 kB / 439.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.2767, allocations: 0 / 439.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2767, allocations: 3.938 kB / 439.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.2774, allocations: 0.5444 MB / 440.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.2778, allocations: 248.6 kB / 440.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.2778, allocations: 8 kB / 440.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.278, allocations: 15.98 kB / 440.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2781, allocations: 23.92 kB / 440.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.2781, allocations: 63.92 kB / 440.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004779/0.2786, allocations: 386.9 kB / 441.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2786, allocations: 0 / 441.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.2789, allocations: 44 kB / 441.1 MB, free: 11.6 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.0001507/0.279, allocations: 123 kB / 441.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005118/0.2795, allocations: 381.5 kB / 441.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2795, allocations: 0 / 441.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.2798, allocations: 297.6 kB / 441.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.2804, allocations: 125 kB / 442 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2815, allocations: 0.6649 MB / 442.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.282, allocations: 0.8021 MB / 443.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.083e-05/0.2821, allocations: 12.59 kB / 443.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.2821, allocations: 15.44 kB / 443.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2821, allocations: 0 / 443.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of Templates: time 0.008584/0.2907, allocations: 4.713 MB / 448.2 MB, free: 4.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/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: 4.760885220952332]