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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 112.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 67.88 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2888, allocations: 50.55 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002519/0.2913, allocations: 1.506 MB / 411.5 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.2934, allocations: 0.8834 MB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.2935, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.836e-05/0.2936, allocations: 11.88 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.2937, allocations: 19.84 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.294, allocations: 47.89 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.2942, allocations: 139.7 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2943, allocations: 32.2 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005699/0.2949, allocations: 0.5732 MB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.295, allocations: 71.69 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.2951, allocations: 12 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.575e-05/0.2951, allocations: 8 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/0.2952, allocations: 63.77 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.2953, allocations: 115.1 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.2957, allocations: 370.7 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2957, allocations: 0 / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2958, allocations: 4 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2958, allocations: 0 / 413.8 MB, free: 13.75 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.0008191/0.2966, allocations: 0.7199 MB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2966, allocations: 8.031 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.2967, allocations: 36.56 kB / 414.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.2971, allocations: 274.3 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2971, allocations: 12.31 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.2971, allocations: 8.375 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.2975, allocations: 137.8 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2975, allocations: 4 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.2975, allocations: 4 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2975, allocations: 0 / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2977, allocations: 59.91 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.2983, allocations: 468.4 kB / 415.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.2985, allocations: 98.55 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.2987, allocations: 84.89 kB / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.2987, allocations: 0 / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.299, allocations: 202.7 kB / 415.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.299, allocations: 0 / 415.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008822/0.2999, allocations: 479.8 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.3, allocations: 170.2 kB / 416.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006954/0.3007, allocations: 0.5091 MB / 417 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.3008, allocations: 33.7 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.3008, allocations: 101.1 kB / 417.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.3009, allocations: 27.64 kB / 417.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.301, allocations: 89.31 kB / 417.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3011, allocations: 326.8 kB / 417.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3013, allocations: 59.97 kB / 417.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.3014, allocations: 65.69 kB / 417.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.3018, allocations: 354.9 kB / 418 MB, free: 9.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3018, allocations: 0 / 418 MB, free: 9.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005169/0.3023, allocations: 388.4 kB / 418.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.458e-05/0.3024, allocations: 126.8 kB / 418.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3024, allocations: 0 / 418.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3024, allocations: 0 / 418.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.3024, allocations: 0 / 418.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3025, allocations: 7.984 kB / 418.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.3026, allocations: 11.94 kB / 418.6 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.3027, allocations: 59.97 kB / 418.6 MB, free: 8.477 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.0003634/0.303, allocations: 378.7 kB / 419 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.3031, allocations: 39.53 kB / 419 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.3032, allocations: 67.14 kB / 419.1 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3032, allocations: 3.984 kB / 419.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3032, allocations: 0 / 419.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.3036, allocations: 240.5 kB / 419.3 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.3036, allocations: 8 kB / 419.3 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3038, allocations: 24.03 kB / 419.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.3039, allocations: 23.92 kB / 419.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007448/0.3046, allocations: 0.7082 MB / 420.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006461/0.3053, allocations: 0.6104 MB / 420.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002197/0.3055, allocations: 148 kB / 420.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004371/0.306, allocations: 386.9 kB / 421.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of Backend: time 3.01e-07/0.306, allocations: 0 / 421.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007487/0.3067, allocations: 448 kB / 421.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of SimCode: time 0.001346/0.3081, allocations: 1.312 MB / 423 MB, free: 3.797 MB / 334.1 MB Notification: Performance of Templates: time 0.007382/0.3155, allocations: 4.104 MB / 427.1 MB, free: 15.62 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches