Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 178.8 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.7 MB / 243.2 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007234/0.0007234, allocations: 95.91 kB / 294.4 MB, free: 9.734 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003032, allocations: 8 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2615, allocations: 50.4 MB / 404.6 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001498/0.2631, allocations: 1.201 MB / 405.8 MB, free: 30.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.2647, allocations: 1.148 MB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.2648, allocations: 1.125 kB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.555e-05/0.2649, allocations: 7.922 kB / 406.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.2649, allocations: 12.77 kB / 406.9 MB, free: 28.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.2652, allocations: 39.95 kB / 407 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2653, allocations: 110.6 kB / 407.1 MB, free: 28.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2654, allocations: 20.22 kB / 407.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.2658, allocations: 0.538 MB / 407.6 MB, free: 28.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.266, allocations: 67.69 kB / 407.7 MB, free: 28.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.266, allocations: 4 kB / 407.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/0.266, allocations: 7.844 kB / 407.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.2661, allocations: 63.75 kB / 407.8 MB, free: 28.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2662, allocations: 132.8 kB / 407.9 MB, free: 27.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.2665, allocations: 354.7 kB / 408.3 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2665, allocations: 0 / 408.3 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.2665, allocations: 0 / 408.3 MB, free: 27.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2665, allocations: 3.938 kB / 408.3 MB, free: 27.59 MB / 298.7 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.0004861/0.267, allocations: 0.6544 MB / 408.9 MB, free: 26.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.267, allocations: 12.03 kB / 408.9 MB, free: 26.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.2671, allocations: 33.69 kB / 409 MB, free: 26.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2673, allocations: 274.3 kB / 409.2 MB, free: 26.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2674, allocations: 12.31 kB / 409.2 MB, free: 26.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2674, allocations: 9.25 kB / 409.3 MB, free: 26.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.2677, allocations: 129.9 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2677, allocations: 4 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.2677, allocations: 4 kB / 409.4 MB, free: 26.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2677, allocations: 0 / 409.4 MB, free: 26.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.2679, allocations: 59.97 kB / 409.4 MB, free: 26.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.2685, allocations: 472.4 kB / 409.9 MB, free: 25.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.2686, allocations: 98.55 kB / 410 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2688, allocations: 84.83 kB / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2688, allocations: 0 / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.2691, allocations: 210.7 kB / 410.3 MB, free: 25.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.2691, allocations: 0 / 410.3 MB, free: 25.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006282/0.2697, allocations: 479.8 kB / 410.8 MB, free: 24.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.2698, allocations: 174.3 kB / 410.9 MB, free: 24.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.2703, allocations: 0.509 MB / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2703, allocations: 29.7 kB / 411.5 MB, free: 24.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.2703, allocations: 101 kB / 411.6 MB, free: 24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.2704, allocations: 31.64 kB / 411.6 MB, free: 23.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.2704, allocations: 4 kB / 411.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.2704, allocations: 322.8 kB / 411.9 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2706, allocations: 59.97 kB / 412 MB, free: 23.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.2707, allocations: 73.69 kB / 412 MB, free: 23.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.2709, allocations: 339.3 kB / 412.4 MB, free: 23.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2709, allocations: 4 kB / 412.4 MB, free: 23.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003949/0.2713, allocations: 392.8 kB / 412.8 MB, free: 22.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.2714, allocations: 126.8 kB / 412.9 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2714, allocations: 0 / 412.9 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2714, allocations: 0 / 412.9 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.072e-05/0.2714, allocations: 0 / 412.9 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2715, allocations: 8.031 kB / 412.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2716, allocations: 15.92 kB / 412.9 MB, free: 22.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.2717, allocations: 55.94 kB / 413 MB, free: 22.47 MB / 298.7 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 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.0002617/0.2719, allocations: 370.6 kB / 413.3 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.272, allocations: 39.53 kB / 413.4 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-05/0.2721, allocations: 71.12 kB / 413.4 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2721, allocations: 0 / 413.4 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2721, allocations: 0 / 413.4 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2721, allocations: 4 kB / 413.4 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007726/0.2729, allocations: 0.8136 MB / 414.3 MB, free: 21.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2729, allocations: 4.062 kB / 414.3 MB, free: 21.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-06/0.2729, allocations: 0 / 414.3 MB, free: 21.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2729, allocations: 0 / 414.3 MB, free: 21.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.273, allocations: 19.98 kB / 414.3 MB, free: 21.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.273, allocations: 0 / 414.3 MB, free: 21.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.273, allocations: 7.875 kB / 414.3 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.2734, allocations: 0.5368 MB / 414.8 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.2737, allocations: 248.5 kB / 415.1 MB, free: 20.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.2737, allocations: 12 kB / 415.1 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2739, allocations: 8 kB / 415.1 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.274, allocations: 31.91 kB / 415.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.274, allocations: 63.86 kB / 415.2 MB, free: 20.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003447/0.2744, allocations: 382.9 kB / 415.6 MB, free: 19.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2744, allocations: 0 / 415.6 MB, free: 19.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.2746, allocations: 48 kB / 415.6 MB, free: 19.66 MB / 298.7 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.000132/0.2748, allocations: 117.9 kB / 415.7 MB, free: 19.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003968/0.2752, allocations: 437.5 kB / 416.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2752, allocations: 0 / 416.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.2754, allocations: 377.6 kB / 416.5 MB, free: 18.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.276, allocations: 101.6 kB / 416.6 MB, free: 18.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.2769, allocations: 0.7622 MB / 417.4 MB, free: 17.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.2772, allocations: 0.8102 MB / 418.2 MB, free: 16.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.897e-05/0.2772, allocations: 8.656 kB / 418.2 MB, free: 16.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.2773, allocations: 11.44 kB / 418.2 MB, free: 16.89 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2773, allocations: 0 / 418.2 MB, free: 16.89 MB / 298.7 MB Notification: Performance of Templates: time 0.005741/0.283, allocations: 4.13 MB / 422.3 MB, free: 12.71 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches