Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001848/0.001848, allocations: 200 kB / 18.01 MB, free: 5.055 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.483/1.483, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 43.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2866, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002968/0.2896, allocations: 1.508 MB / 402.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.2916, allocations: 0.8481 MB / 403.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.2917, allocations: 0 / 403.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2918, allocations: 11.86 kB / 403.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.292, allocations: 19.88 kB / 403.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.2923, allocations: 51.88 kB / 403.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.2925, allocations: 143.7 kB / 403.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2927, allocations: 28.2 kB / 403.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006122/0.2933, allocations: 0.5887 MB / 403.9 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.2935, allocations: 63.77 kB / 404 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.2935, allocations: 11.98 kB / 404 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-05/0.2935, allocations: 12 kB / 404 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.2936, allocations: 63.7 kB / 404.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2938, allocations: 115.2 kB / 404.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.2941, allocations: 370.6 kB / 404.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2941, allocations: 0 / 404.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2942, allocations: 0 / 404.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.2942, allocations: 0 / 404.5 MB, free: 5.055 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.0009055/0.2951, allocations: 0.7239 MB / 405.3 MB, free: 4.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2951, allocations: 8.031 kB / 405.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.2952, allocations: 40.47 kB / 405.3 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.2955, allocations: 274.3 kB / 405.6 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.2956, allocations: 4.375 kB / 405.6 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.2956, allocations: 8.375 kB / 405.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.2959, allocations: 129.9 kB / 405.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.296, allocations: 0 / 405.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.296, allocations: 8 kB / 405.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.296, allocations: 3.938 kB / 405.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2962, allocations: 59.97 kB / 405.8 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.2969, allocations: 464.5 kB / 406.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.2972, allocations: 98.48 kB / 406.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2973, allocations: 84.89 kB / 406.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2973, allocations: 3.984 kB / 406.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.2977, allocations: 212.9 kB / 406.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.454e-06/0.2977, allocations: 3.938 kB / 406.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008626/0.2986, allocations: 476.1 kB / 407.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.2987, allocations: 166.2 kB / 407.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.2994, allocations: 0.5207 MB / 407.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2994, allocations: 29.7 kB / 407.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.2995, allocations: 93.14 kB / 407.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.2995, allocations: 27.7 kB / 407.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.2996, allocations: 89.33 kB / 408 MB, free: 1.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2998, allocations: 326.8 kB / 408.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2999, allocations: 55.97 kB / 408.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.3001, allocations: 81.61 kB / 408.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.3005, allocations: 337.5 kB / 408.8 MB, free: 436 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3005, allocations: 0 / 408.8 MB, free: 436 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000536/0.301, allocations: 392.3 kB / 409.2 MB, free: 12 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.3012, allocations: 133.1 kB / 409.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3012, allocations: 0 / 409.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3012, allocations: 0 / 409.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.598e-05/0.3012, allocations: 4 kB / 409.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3012, allocations: 0 / 409.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3014, allocations: 15.92 kB / 409.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.3015, allocations: 56 kB / 409.4 MB, free: 15.79 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0003773/0.3019, allocations: 378.9 kB / 409.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.3019, allocations: 39.53 kB / 409.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.302, allocations: 59.16 kB / 409.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.302, allocations: 0 / 409.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3021, allocations: 0 / 409.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3021, allocations: 0 / 409.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3031, allocations: 0.8212 MB / 410.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3031, allocations: 0 / 410.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.3031, allocations: 3.984 kB / 410.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3031, allocations: 0 / 410.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.3032, allocations: 16 kB / 410.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3032, allocations: 0 / 410.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3032, allocations: 3.938 kB / 410.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.3039, allocations: 0.5357 MB / 411.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.3042, allocations: 248.4 kB / 411.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.3043, allocations: 11.94 kB / 411.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3044, allocations: 15.98 kB / 411.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3046, allocations: 31.91 kB / 411.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.3046, allocations: 59.94 kB / 411.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004615/0.3051, allocations: 386.9 kB / 412 MB, free: 13.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3051, allocations: 0 / 412 MB, free: 13.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3054, allocations: 40 kB / 412 MB, free: 12.99 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001506/0.3056, allocations: 121.8 kB / 412.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005314/0.3061, allocations: 445.6 kB / 412.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3061, allocations: 0 / 412.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.3065, allocations: 381.6 kB / 412.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.3071, allocations: 119.5 kB / 413 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.3083, allocations: 0.6382 MB / 413.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.3088, allocations: 0.8136 MB / 414.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.266e-05/0.3088, allocations: 12.64 kB / 414.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.3089, allocations: 11.44 kB / 414.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3089, allocations: 4 kB / 414.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Templates: time 0.008395/0.3173, allocations: 4.659 MB / 419.2 MB, free: 5.594 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches