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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.7 kB / 17.06 MB, free: 6.012 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.001281/0.001281, allocations: 195.9 kB / 18 MB, free: 5.094 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 47.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3158, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002808/0.3186, allocations: 1.493 MB / 401.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3205, allocations: 0.8477 MB / 402.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.3205, allocations: 7.938 kB / 402.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.995e-05/0.3206, allocations: 11.92 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/0.3208, allocations: 23.84 kB / 402.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.321, allocations: 43.89 kB / 402.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.3212, allocations: 143.7 kB / 402.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3213, allocations: 31.73 kB / 402.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006397/0.322, allocations: 0.5693 MB / 403.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.3221, allocations: 63.77 kB / 403.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.3222, allocations: 12 kB / 403.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-05/0.3222, allocations: 8 kB / 403.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3223, allocations: 67.7 kB / 403.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.3225, allocations: 111.2 kB / 403.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.3229, allocations: 381.3 kB / 404 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3229, allocations: 0 / 404 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3229, allocations: 0 / 404 MB, free: 5.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3229, allocations: 0 / 404 MB, free: 5.039 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.0008047/0.3237, allocations: 0.7344 MB / 404.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3238, allocations: 12.03 kB / 404.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.3238, allocations: 42.75 kB / 404.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.3239, allocations: 36.7 kB / 404.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.3242, allocations: 274.7 kB / 405.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3242, allocations: 4.375 kB / 405.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.3243, allocations: 12.38 kB / 405.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3245, allocations: 137.6 kB / 405.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.3246, allocations: 3.984 kB / 405.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.3246, allocations: 8 kB / 405.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3246, allocations: 4 kB / 405.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.3248, allocations: 59.95 kB / 405.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.3254, allocations: 464.4 kB / 405.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3256, allocations: 94.55 kB / 405.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.3258, allocations: 88.92 kB / 406 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3258, allocations: 8 kB / 406 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.3261, allocations: 202.7 kB / 406.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.3261, allocations: 0 / 406.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008286/0.327, allocations: 480.2 kB / 406.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3271, allocations: 170.2 kB / 406.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/0.3277, allocations: 0.5129 MB / 407.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3278, allocations: 29.7 kB / 407.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.3279, allocations: 105.1 kB / 407.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.3279, allocations: 31.8 kB / 407.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.328, allocations: 85.55 kB / 407.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3282, allocations: 322.8 kB / 407.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3283, allocations: 59.91 kB / 408 MB, free: 0.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.3285, allocations: 73.69 kB / 408 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.3288, allocations: 350.4 kB / 408.4 MB, free: 328 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3289, allocations: 0 / 408.4 MB, free: 328 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005818/0.3294, allocations: 392.2 kB / 408.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.46e-05/0.3296, allocations: 118.8 kB / 408.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3296, allocations: 4 kB / 408.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3296, allocations: 0 / 408.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.746e-05/0.3296, allocations: 0 / 408.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3296, allocations: 0 / 408.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.3297, allocations: 15.98 kB / 408.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.3298, allocations: 59.97 kB / 408.9 MB, free: 15.69 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.000354/0.3302, allocations: 370.7 kB / 409.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.3302, allocations: 39.77 kB / 409.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.3304, allocations: 67.27 kB / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3304, allocations: 7.938 kB / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3304, allocations: 4 kB / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3304, allocations: 0 / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3314, allocations: 0.8134 MB / 410.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3314, allocations: 0 / 410.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-06/0.3314, allocations: 8 kB / 410.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3314, allocations: 0 / 410.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.3315, allocations: 12 kB / 410.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3315, allocations: 4 kB / 410.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3315, allocations: 7.875 kB / 410.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.3322, allocations: 0.5332 MB / 410.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/0.3325, allocations: 252.6 kB / 411 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.3326, allocations: 15.98 kB / 411.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3327, allocations: 12 kB / 411.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3328, allocations: 27.91 kB / 411.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.3329, allocations: 56 kB / 411.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004836/0.3334, allocations: 386.9 kB / 411.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3334, allocations: 0 / 411.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.3337, allocations: 44 kB / 411.6 MB, free: 12.88 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.001064/0.3347, allocations: 1.102 MB / 412.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005597/0.3353, allocations: 437.5 kB / 413.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3353, allocations: 0 / 413.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.3357, allocations: 373.5 kB / 413.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.3363, allocations: 123.4 kB / 413.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.3398, allocations: 2.761 MB / 416.4 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.3403, allocations: 0.8058 MB / 417.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.3403, allocations: 8.656 kB / 417.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.3404, allocations: 27.42 kB / 417.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3404, allocations: 0 / 417.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.3686, allocations: 6.041 MB / 423.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.285, allocations: 3.516 kB / 423.2 MB, free: 0.9609 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > 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