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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2739, allocations: 50.55 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002637/0.2766, allocations: 1.507 MB / 410.3 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2784, allocations: 0.8912 MB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.2785, allocations: 0 / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.635e-05/0.2786, allocations: 11.92 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.2787, allocations: 23.8 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.2789, allocations: 43.89 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.2791, allocations: 139.7 kB / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2793, allocations: 27.73 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005979/0.2799, allocations: 0.5809 MB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.28, allocations: 63.77 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.28, allocations: 12 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.697e-05/0.2801, allocations: 8 kB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.494e-05/0.2802, allocations: 67.7 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.2804, allocations: 111.2 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.2808, allocations: 373.4 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2808, allocations: 4 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2808, allocations: 4 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.2808, allocations: 0 / 412.6 MB, free: 13.68 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.000741/0.2815, allocations: 0.7266 MB / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2816, allocations: 12.03 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.2816, allocations: 42.73 kB / 413.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.2817, allocations: 36.7 kB / 413.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.282, allocations: 274.7 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.282, allocations: 4.375 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.2821, allocations: 12.38 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.2824, allocations: 137.7 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2824, allocations: 3.938 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.2824, allocations: 11.92 kB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2824, allocations: 0 / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.2826, allocations: 59.97 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.2832, allocations: 460.5 kB / 414.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.2834, allocations: 106.5 kB / 414.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.2836, allocations: 80.89 kB / 414.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.2836, allocations: 4 kB / 414.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.2839, allocations: 206.6 kB / 414.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.2839, allocations: 0 / 414.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007654/0.2847, allocations: 480.2 kB / 415.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.2848, allocations: 174.2 kB / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006123/0.2854, allocations: 0.5091 MB / 415.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2855, allocations: 29.7 kB / 415.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.2855, allocations: 105.1 kB / 416 MB, free: 9.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.2856, allocations: 27.84 kB / 416.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.2857, allocations: 85.55 kB / 416.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2858, allocations: 322.8 kB / 416.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.286, allocations: 60.03 kB / 416.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2861, allocations: 81.62 kB / 416.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.2864, allocations: 346.7 kB / 416.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2865, allocations: 0 / 416.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005273/0.287, allocations: 396.2 kB / 417.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.2871, allocations: 118.8 kB / 417.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2871, allocations: 4 kB / 417.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2871, allocations: 3.984 kB / 417.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.2871, allocations: 0 / 417.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2871, allocations: 0 / 417.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.2873, allocations: 20.02 kB / 417.5 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.2874, allocations: 59.94 kB / 417.5 MB, free: 8.32 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.0003465/0.2877, allocations: 362.7 kB / 417.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.2878, allocations: 39.77 kB / 417.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.2879, allocations: 71.12 kB / 418 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2879, allocations: 0 / 418 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2879, allocations: 4 kB / 418 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2879, allocations: 112 / 418 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009397/0.2888, allocations: 0.8211 MB / 418.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2889, allocations: 0 / 418.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-06/0.2889, allocations: 0 / 418.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2889, allocations: 4 kB / 418.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.2889, allocations: 15.98 kB / 418.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2889, allocations: 0 / 418.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2889, allocations: 7.938 kB / 418.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.2896, allocations: 0.5293 MB / 419.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.2899, allocations: 260.5 kB / 419.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.29, allocations: 12.19 kB / 419.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2901, allocations: 12 kB / 419.6 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2903, allocations: 27.91 kB / 419.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.2903, allocations: 59.94 kB / 419.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000463/0.2908, allocations: 386.9 kB / 420.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2908, allocations: 3.938 kB / 420.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.2911, allocations: 44 kB / 420.2 MB, free: 5.512 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.001039/0.2922, allocations: 1.096 MB / 421.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.2927, allocations: 433.5 kB / 421.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2927, allocations: 0 / 421.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.2931, allocations: 377.6 kB / 422 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.2937, allocations: 131.6 kB / 422.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.297, allocations: 2.753 MB / 424.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.2975, allocations: 0.8022 MB / 425.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.2976, allocations: 8.656 kB / 425.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.2976, allocations: 27.42 kB / 425.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2976, allocations: 0 / 425.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.3222, allocations: 6.036 MB / 431.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/7.84, allocations: 2.656 kB / 431.8 MB, free: 9.59 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/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_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches