Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 110.5 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 197.2 kB / 18.68 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 51.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2707, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003294/0.2741, allocations: 1.512 MB / 402.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2761, allocations: 0.8481 MB / 403.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.2762, allocations: 4 kB / 403.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.2764, allocations: 11.86 kB / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2765, allocations: 15.86 kB / 403.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.2768, allocations: 55.88 kB / 403.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.2771, allocations: 139.7 kB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2772, allocations: 31.73 kB / 404 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.2779, allocations: 0.5732 MB / 404.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.278, allocations: 71.75 kB / 404.7 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.2781, allocations: 8 kB / 404.7 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.2782, allocations: 16 kB / 404.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.2783, allocations: 63.7 kB / 404.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.2784, allocations: 115.2 kB / 404.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.2788, allocations: 374.3 kB / 405.2 MB, free: 5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2788, allocations: 3.984 kB / 405.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2788, allocations: 0 / 405.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2788, allocations: 0 / 405.2 MB, free: 4.996 MB / 318.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.0007851/0.2796, allocations: 0.7305 MB / 406 MB, free: 4.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2796, allocations: 8.031 kB / 406 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.2797, allocations: 40.7 kB / 406 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.28, allocations: 274.7 kB / 406.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.28, allocations: 4.375 kB / 406.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.2801, allocations: 12.38 kB / 406.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.2804, allocations: 133.8 kB / 406.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2804, allocations: 0 / 406.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.2804, allocations: 4 kB / 406.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2804, allocations: 4 kB / 406.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.2806, allocations: 59.95 kB / 406.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.2812, allocations: 464.5 kB / 407 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2814, allocations: 94.55 kB / 407 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.2815, allocations: 84.88 kB / 407.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.2816, allocations: 4 kB / 407.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.2819, allocations: 214.7 kB / 407.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.2819, allocations: 7.938 kB / 407.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007673/0.2827, allocations: 480.2 kB / 407.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.2828, allocations: 174.2 kB / 408 MB, free: 1.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.2834, allocations: 0.5129 MB / 408.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.2834, allocations: 29.7 kB / 408.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.2835, allocations: 101.1 kB / 408.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.2835, allocations: 31.75 kB / 408.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.2837, allocations: 85.55 kB / 408.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2838, allocations: 330.7 kB / 409.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.2839, allocations: 59.97 kB / 409.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.284, allocations: 69.69 kB / 409.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.2844, allocations: 345.4 kB / 409.5 MB, free: 340 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2844, allocations: 0 / 409.5 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005256/0.2849, allocations: 388.3 kB / 409.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/0.285, allocations: 122.8 kB / 410 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.285, allocations: 8.031 kB / 410 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.285, allocations: 0 / 410 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.139e-05/0.285, allocations: 4 kB / 410 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2851, allocations: 0 / 410 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.2852, allocations: 11.98 kB / 410.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.2853, allocations: 56 kB / 410.1 MB, free: 15.7 MB / 334.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.0003121/0.2856, allocations: 362.7 kB / 410.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.2856, allocations: 39.77 kB / 410.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.2857, allocations: 71.09 kB / 410.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2857, allocations: 3.984 kB / 410.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2858, allocations: 0 / 410.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.286, allocations: 252.6 kB / 410.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.2861, allocations: 8 kB / 410.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2862, allocations: 15.92 kB / 410.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2863, allocations: 19.98 kB / 410.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006771/0.287, allocations: 0.7005 MB / 411.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006766/0.2877, allocations: 0.6125 MB / 412.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002014/0.2879, allocations: 152.2 kB / 412.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004387/0.2884, allocations: 386.9 kB / 412.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.2884, allocations: 0 / 412.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.289, allocations: 448 kB / 413.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of SimCode: time 0.001318/0.2904, allocations: 1.322 MB / 414.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of Templates: time 0.006671/0.297, allocations: 4.102 MB / 418.6 MB, free: 6.852 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches