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.001152/0.001156, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3027, allocations: 50.54 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002528/0.3053, allocations: 1.503 MB / 411.4 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3071, allocations: 0.8795 MB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.3072, allocations: 4 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.617e-05/0.3073, allocations: 15.8 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.3074, allocations: 19.86 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.3076, allocations: 51.88 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3079, allocations: 139.7 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.308, allocations: 24.2 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005899/0.3086, allocations: 0.5732 MB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.3087, allocations: 75.69 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.3088, allocations: 8 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.661e-05/0.3088, allocations: 8 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.3089, allocations: 63.77 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.309, allocations: 119.1 kB / 413.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.3094, allocations: 374.7 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3094, allocations: 4 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3094, allocations: 3.938 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3094, allocations: 0 / 413.8 MB, free: 13.68 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.0007283/0.3102, allocations: 0.7199 MB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3102, allocations: 12.03 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.3103, allocations: 32.56 kB / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3106, allocations: 270.3 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3106, allocations: 12.31 kB / 414.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.3106, allocations: 8.375 kB / 414.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3109, allocations: 133.9 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3109, allocations: 0 / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.311, allocations: 4 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.311, allocations: 0 / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.3111, allocations: 67.89 kB / 415 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.3118, allocations: 468.4 kB / 415.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3119, allocations: 90.55 kB / 415.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3121, allocations: 92.88 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.3121, allocations: 4 kB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003566/0.3125, allocations: 206.6 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.3125, allocations: 0 / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007804/0.3133, allocations: 475.4 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3134, allocations: 170.2 kB / 416.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/0.314, allocations: 0.5091 MB / 417 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.314, allocations: 33.7 kB / 417 MB, free: 10.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.3141, allocations: 97.12 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.3142, allocations: 31.64 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3143, allocations: 89.31 kB / 417.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3144, allocations: 322.8 kB / 417.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3146, allocations: 55.97 kB / 417.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3147, allocations: 77.67 kB / 417.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.315, allocations: 347.2 kB / 418 MB, free: 9.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3151, allocations: 0 / 418 MB, free: 9.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005276/0.3156, allocations: 388.4 kB / 418.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.839e-05/0.3157, allocations: 129.8 kB / 418.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3157, allocations: 4 kB / 418.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3157, allocations: 0 / 418.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.998e-05/0.3158, allocations: 0 / 418.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3158, allocations: 0 / 418.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.3159, allocations: 19.95 kB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.316, allocations: 59.94 kB / 418.6 MB, free: 8.414 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.0003349/0.3163, allocations: 370.6 kB / 419 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.3164, allocations: 39.66 kB / 419 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.3165, allocations: 63.16 kB / 419.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3165, allocations: 4 kB / 419.1 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3165, allocations: 7.984 kB / 419.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3165, allocations: 0 / 419.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.3175, allocations: 0.8173 MB / 419.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3175, allocations: 112 / 419.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-06/0.3175, allocations: 3.938 kB / 419.9 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.3175, allocations: 7.984 kB / 419.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.3175, allocations: 8 kB / 419.9 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3175, allocations: 3.938 kB / 419.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3175, allocations: 7.938 kB / 419.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.3181, allocations: 0.5443 MB / 420.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.3184, allocations: 240.5 kB / 420.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.3185, allocations: 12 kB / 420.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3186, allocations: 11.98 kB / 420.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.3187, allocations: 27.91 kB / 420.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.3188, allocations: 59.94 kB / 420.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004235/0.3192, allocations: 386.9 kB / 421.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3193, allocations: 0 / 421.2 MB, free: 5.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.3195, allocations: 48 kB / 421.3 MB, free: 5.605 MB / 334.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.0001442/0.3197, allocations: 115 kB / 421.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.3202, allocations: 437.5 kB / 421.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3202, allocations: 0 / 421.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.3205, allocations: 377.6 kB / 422.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.3211, allocations: 114.8 kB / 422.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3222, allocations: 0.7021 MB / 423 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3226, allocations: 0.8022 MB / 423.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.3226, allocations: 11.44 kB / 423.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3226, allocations: 3.938 kB / 423.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of Templates: time 0.004056/0.3267, allocations: 2.678 MB / 426.5 MB, free: 180 kB / 334.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