Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 108.3 kB / 17.74 MB, free: 5.191 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.001328/0.001329, allocations: 192.4 kB / 18.67 MB, free: 4.266 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.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009845/0.0009847, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2666, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002633/0.2693, allocations: 1.502 MB / 402.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2711, allocations: 0.8481 MB / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.2711, allocations: 4 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.21e-05/0.2712, allocations: 11.92 kB / 403.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.2714, allocations: 19.78 kB / 403.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.2716, allocations: 53.77 kB / 403.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.2718, allocations: 135.8 kB / 404 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2719, allocations: 32.2 kB / 404 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005614/0.2725, allocations: 0.5848 MB / 404.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.2726, allocations: 63.77 kB / 404.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.2727, allocations: 12 kB / 404.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.549e-05/0.2727, allocations: 8 kB / 404.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.2728, allocations: 67.7 kB / 404.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.273, allocations: 119.1 kB / 404.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.2733, allocations: 366.7 kB / 405.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2733, allocations: 0 / 405.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2733, allocations: 0 / 405.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2733, allocations: 7.938 kB / 405.2 MB, free: 5.023 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.0007475/0.2741, allocations: 0.72 MB / 405.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2741, allocations: 8.031 kB / 405.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.2742, allocations: 40.47 kB / 406 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.2745, allocations: 274.3 kB / 406.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.2745, allocations: 4.375 kB / 406.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.2746, allocations: 12.38 kB / 406.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2749, allocations: 129.9 kB / 406.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.2749, allocations: 0 / 406.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2749, allocations: 8 kB / 406.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2749, allocations: 3.984 kB / 406.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.2751, allocations: 63.89 kB / 406.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.2757, allocations: 452.5 kB / 406.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.2759, allocations: 102.5 kB / 407 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.2761, allocations: 84.98 kB / 407.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.2761, allocations: 7.938 kB / 407.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/0.2764, allocations: 206.7 kB / 407.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.2765, allocations: 0 / 407.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007841/0.2772, allocations: 480.1 kB / 407.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.2774, allocations: 166.2 kB / 407.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/0.278, allocations: 0.5207 MB / 408.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.278, allocations: 29.7 kB / 408.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.2781, allocations: 105.1 kB / 408.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.2781, allocations: 23.72 kB / 408.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.2782, allocations: 81.33 kB / 408.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.2784, allocations: 326.8 kB / 409 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2785, allocations: 55.97 kB / 409.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2786, allocations: 77.67 kB / 409.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.279, allocations: 349.4 kB / 409.5 MB, free: 400 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.279, allocations: 0 / 409.5 MB, free: 400 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005264/0.2795, allocations: 384.3 kB / 409.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.2796, allocations: 126.7 kB / 410 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2796, allocations: 0 / 410 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2796, allocations: 0 / 410 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.221e-05/0.2797, allocations: 4.125 kB / 410 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2797, allocations: 0 / 410 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.2798, allocations: 23.92 kB / 410 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.2799, allocations: 52 kB / 410.1 MB, free: 15.76 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.0003481/0.2802, allocations: 366.8 kB / 410.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.2803, allocations: 39.53 kB / 410.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.2804, allocations: 63.16 kB / 410.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2804, allocations: 0 / 410.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.2804, allocations: 3.938 kB / 410.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2805, allocations: 3.984 kB / 410.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009881/0.2814, allocations: 0.8279 MB / 411.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.2815, allocations: 0 / 411.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-06/0.2815, allocations: 4 kB / 411.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2815, allocations: 0 / 411.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.2815, allocations: 16 kB / 411.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2815, allocations: 0 / 411.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2815, allocations: 3.938 kB / 411.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006237/0.2822, allocations: 0.533 MB / 411.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.2825, allocations: 244.4 kB / 412.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.2826, allocations: 12 kB / 412.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.2827, allocations: 15.98 kB / 412.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2828, allocations: 27.91 kB / 412.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.2829, allocations: 59.94 kB / 412.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004581/0.2833, allocations: 390.9 kB / 412.6 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2834, allocations: 0 / 412.6 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.2836, allocations: 40 kB / 412.7 MB, free: 12.96 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.0001521/0.2838, allocations: 123.1 kB / 412.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.2843, allocations: 445.5 kB / 413.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2843, allocations: 0 / 413.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.2847, allocations: 377.6 kB / 413.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.2853, allocations: 124.7 kB / 413.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.2864, allocations: 0.6789 MB / 414.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.2868, allocations: 0.8097 MB / 415.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.2868, allocations: 15.5 kB / 415.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2868, allocations: 0 / 415.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of Templates: time 0.004229/0.2911, allocations: 2.687 MB / 417.9 MB, free: 7.516 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches