Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3096, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002584/0.3123, allocations: 1.514 MB / 410.8 MB, free: 72 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3141, allocations: 0.8795 MB / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.3142, allocations: 4 kB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.3143, allocations: 11.86 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.761e-05/0.3144, allocations: 19.86 kB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.3147, allocations: 55.62 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3149, allocations: 139.7 kB / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.315, allocations: 20.22 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.3155, allocations: 0.5771 MB / 412.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3157, allocations: 75.7 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.3157, allocations: 11.94 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.837e-05/0.3158, allocations: 12 kB / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.3159, allocations: 55.77 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.316, allocations: 123.1 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.3164, allocations: 374.6 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3164, allocations: 0 / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3164, allocations: 4 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3164, allocations: 0 / 413.1 MB, free: 13.71 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.0007287/0.3171, allocations: 0.7122 MB / 413.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3172, allocations: 12.03 kB / 413.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.3172, allocations: 36.55 kB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3175, allocations: 274.3 kB / 414.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3175, allocations: 4.375 kB / 414.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.3176, allocations: 12.36 kB / 414.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.3179, allocations: 129.9 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.3179, allocations: 4 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.3179, allocations: 12 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3179, allocations: 7.938 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3181, allocations: 59.95 kB / 414.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.3187, allocations: 464.4 kB / 414.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3189, allocations: 90.55 kB / 414.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.319, allocations: 92.88 kB / 415 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.319, allocations: 4 kB / 415 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.3194, allocations: 206.6 kB / 415.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3194, allocations: 0 / 415.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007831/0.3202, allocations: 471.9 kB / 415.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/0.3203, allocations: 170.2 kB / 415.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.3209, allocations: 0.5091 MB / 416.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3209, allocations: 33.7 kB / 416.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.321, allocations: 97.12 kB / 416.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.321, allocations: 31.64 kB / 416.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.3211, allocations: 93.31 kB / 416.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3213, allocations: 322.8 kB / 416.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3214, allocations: 55.97 kB / 416.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3215, allocations: 73.69 kB / 417 MB, free: 9.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.3218, allocations: 343.3 kB / 417.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3219, allocations: 0 / 417.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005105/0.3224, allocations: 396.4 kB / 417.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.3225, allocations: 118.8 kB / 417.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3225, allocations: 4 kB / 417.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3225, allocations: 0 / 417.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.962e-05/0.3225, allocations: 0 / 417.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3225, allocations: 3.938 kB / 417.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3227, allocations: 19.95 kB / 417.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.3227, allocations: 60.02 kB / 417.9 MB, free: 8.445 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.000318/0.3231, allocations: 370.5 kB / 418.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.3231, allocations: 39.53 kB / 418.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.567e-05/0.3232, allocations: 67.14 kB / 418.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3232, allocations: 4 kB / 418.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3232, allocations: 0 / 418.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3232, allocations: 0 / 418.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008919/0.3241, allocations: 0.817 MB / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3242, allocations: 11.94 kB / 419.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.3242, allocations: 4 kB / 419.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3242, allocations: 3.938 kB / 419.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3242, allocations: 8 kB / 419.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3242, allocations: 4 kB / 419.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3242, allocations: 7.922 kB / 419.3 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.3248, allocations: 0.5369 MB / 419.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.3251, allocations: 236.5 kB / 420 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.3252, allocations: 19.98 kB / 420.1 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3253, allocations: 8 kB / 420.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3254, allocations: 27.91 kB / 420.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.3255, allocations: 63.94 kB / 420.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000431/0.3259, allocations: 386.9 kB / 420.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.326, allocations: 0 / 420.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.3262, allocations: 44 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,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.0001517/0.3264, allocations: 117.9 kB / 420.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.3269, allocations: 437.5 kB / 421.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3269, allocations: 0 / 421.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.3272, allocations: 377.6 kB / 421.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.3278, allocations: 121.8 kB / 421.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.3288, allocations: 0.6497 MB / 422.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.3292, allocations: 0.8062 MB / 423.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.3293, allocations: 8.656 kB / 423.1 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.3293, allocations: 11.44 kB / 423.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3293, allocations: 0 / 423.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Templates: time 0.007327/0.3366, allocations: 4.67 MB / 427.7 MB, free: 14.24 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches