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.0009443/0.0009444, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2941, allocations: 50.53 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002689/0.2968, allocations: 1.51 MB / 410.7 MB, free: 92 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2989, allocations: 0.8911 MB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.2989, allocations: 0 / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.299, allocations: 11.92 kB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.818e-05/0.2991, allocations: 23.8 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.2994, allocations: 39.95 kB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.2996, allocations: 151.7 kB / 411.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2998, allocations: 19.73 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006221/0.3004, allocations: 0.5654 MB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.3006, allocations: 67.7 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/0.3007, allocations: 12 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.852e-05/0.3007, allocations: 8 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.3009, allocations: 63.77 kB / 412.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.301, allocations: 127.1 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.3016, allocations: 370.3 kB / 413.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3016, allocations: 4 kB / 413.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3016, allocations: 3.938 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3016, allocations: 0 / 413.1 MB, free: 13.74 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.0009866/0.3026, allocations: 0.7228 MB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.3027, allocations: 8.031 kB / 413.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3028, allocations: 48.69 kB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.3031, allocations: 270.7 kB / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3032, allocations: 12.31 kB / 414.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.3032, allocations: 12.38 kB / 414.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.3035, allocations: 129.9 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3035, allocations: 0 / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.3036, allocations: 4 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3036, allocations: 3.938 kB / 414.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.3037, allocations: 63.95 kB / 414.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.3044, allocations: 460.5 kB / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3046, allocations: 94.55 kB / 414.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3048, allocations: 84.88 kB / 415 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.3048, allocations: 0 / 415 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/0.3052, allocations: 214 kB / 415.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3052, allocations: 0 / 415.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009094/0.3061, allocations: 484.3 kB / 415.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.3063, allocations: 170.2 kB / 415.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.3069, allocations: 0.5091 MB / 416.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3069, allocations: 33.7 kB / 416.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.307, allocations: 101.1 kB / 416.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.3071, allocations: 35.67 kB / 416.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3072, allocations: 81.55 kB / 416.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3073, allocations: 330.8 kB / 416.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3075, allocations: 56.03 kB / 417 MB, free: 9.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3076, allocations: 81.69 kB / 417 MB, free: 9.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.308, allocations: 339.3 kB / 417.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.308, allocations: 0 / 417.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005245/0.3085, allocations: 392.2 kB / 417.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.725e-05/0.3086, allocations: 126.8 kB / 417.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3086, allocations: 0 / 417.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3086, allocations: 4 kB / 417.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.493e-05/0.3087, allocations: 4.031 kB / 417.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3087, allocations: 0 / 417.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.3089, allocations: 11.98 kB / 417.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.309, allocations: 55.94 kB / 417.9 MB, free: 8.453 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.0003612/0.3093, allocations: 374.6 kB / 418.3 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.3094, allocations: 39.77 kB / 418.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3095, allocations: 67.14 kB / 418.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3095, allocations: 0 / 418.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3095, allocations: 0 / 418.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3095, allocations: 7.984 kB / 418.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009645/0.3105, allocations: 0.8249 MB / 419.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3105, allocations: 3.938 kB / 419.3 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-06/0.3105, allocations: 0 / 419.3 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3105, allocations: 0 / 419.3 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.3106, allocations: 12 kB / 419.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3106, allocations: 3.938 kB / 419.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3106, allocations: 3.938 kB / 419.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.3112, allocations: 0.5332 MB / 419.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.3116, allocations: 248.6 kB / 420 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.3117, allocations: 12.17 kB / 420.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3118, allocations: 12 kB / 420.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3119, allocations: 31.91 kB / 420.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.312, allocations: 55.94 kB / 420.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004085/0.3124, allocations: 390.9 kB / 420.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3124, allocations: 0 / 420.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3127, allocations: 47.94 kB / 420.6 MB, free: 5.641 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.0001635/0.3128, allocations: 119 kB / 420.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004929/0.3133, allocations: 437.5 kB / 421.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3134, allocations: 0 / 421.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.3137, allocations: 381.6 kB / 421.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.3143, allocations: 125.4 kB / 421.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.3153, allocations: 0.6532 MB / 422.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.3158, allocations: 0.8022 MB / 423.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.669e-05/0.3158, allocations: 8.656 kB / 423.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.3158, allocations: 11.44 kB / 423.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3159, allocations: 0 / 423.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of Templates: time 0.008568/0.3244, allocations: 4.666 MB / 427.8 MB, free: 14.24 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches