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.001565/0.001565, allocations: 109.3 kB / 17.74 MB, free: 5.355 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.001798/0.001798, allocations: 182.4 kB / 18.67 MB, free: 4.438 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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001085, allocations: 39.94 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2552, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002569/0.2578, allocations: 1.513 MB / 402.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.2597, allocations: 0.8404 MB / 403.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.2598, allocations: 0 / 403.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.302e-05/0.2599, allocations: 15.86 kB / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.26, allocations: 19.86 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.2602, allocations: 51.89 kB / 403.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.2604, allocations: 147.7 kB / 404 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.2605, allocations: 24.2 kB / 404 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.2611, allocations: 0.5771 MB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.2612, allocations: 75.7 kB / 404.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.2613, allocations: 12 kB / 404.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.669e-05/0.2613, allocations: 8 kB / 404.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.2614, allocations: 63.77 kB / 404.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.2615, allocations: 119.1 kB / 404.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.2619, allocations: 362.7 kB / 405.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2619, allocations: 3.938 kB / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2619, allocations: 0 / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2619, allocations: 0 / 405.2 MB, free: 5.051 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.0006932/0.2626, allocations: 0.7161 MB / 405.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2626, allocations: 8.031 kB / 405.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.2627, allocations: 44.47 kB / 406 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.263, allocations: 278.3 kB / 406.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2631, allocations: 4.375 kB / 406.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.2631, allocations: 8.375 kB / 406.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.2634, allocations: 135.9 kB / 406.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.2634, allocations: 3.938 kB / 406.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2634, allocations: 8 kB / 406.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2634, allocations: 4 kB / 406.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.2636, allocations: 59.97 kB / 406.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006658/0.2643, allocations: 464.4 kB / 406.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.2644, allocations: 90.55 kB / 407 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.2646, allocations: 85 kB / 407.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.2646, allocations: 3.938 kB / 407.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.265, allocations: 214.6 kB / 407.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.265, allocations: 0 / 407.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007734/0.2658, allocations: 476.1 kB / 407.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.2658, allocations: 162.2 kB / 407.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/0.2664, allocations: 0.5207 MB / 408.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.2665, allocations: 29.7 kB / 408.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.2665, allocations: 101.1 kB / 408.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.2666, allocations: 31.64 kB / 408.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2667, allocations: 85.33 kB / 408.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2668, allocations: 330.8 kB / 409 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.267, allocations: 55.97 kB / 409.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.2671, allocations: 77.67 kB / 409.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.2674, allocations: 341.7 kB / 409.5 MB, free: 424 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2674, allocations: 0 / 409.5 MB, free: 424 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000526/0.268, allocations: 384.3 kB / 409.9 MB, free: 8 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/0.2681, allocations: 130.8 kB / 410 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2681, allocations: 0 / 410 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2681, allocations: 4 kB / 410 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.796e-05/0.2681, allocations: 0 / 410 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2681, allocations: 0 / 410 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.2683, allocations: 11.94 kB / 410 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/0.2684, allocations: 55.98 kB / 410.1 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.0003304/0.2687, allocations: 366.7 kB / 410.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.2688, allocations: 43.53 kB / 410.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.2689, allocations: 63.16 kB / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2689, allocations: 0 / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2689, allocations: 0 / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/0.2692, allocations: 244.5 kB / 410.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.2693, allocations: 15.98 kB / 410.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2694, allocations: 12.06 kB / 410.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.2695, allocations: 31.95 kB / 410.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006799/0.2702, allocations: 0.7044 MB / 411.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006513/0.2708, allocations: 0.6168 MB / 412.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000202/0.271, allocations: 144 kB / 412.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004318/0.2715, allocations: 390.8 kB / 412.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of Backend: time 6.72e-07/0.2715, allocations: 3.938 kB / 412.7 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.2722, allocations: 452 kB / 413.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of SimCode: time 0.001318/0.2735, allocations: 1.307 MB / 414.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of Templates: time 0.006609/0.2801, allocations: 4.106 MB / 418.5 MB, free: 6.93 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/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