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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 212.9 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 59.89 kB / 377.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3239, allocations: 53.41 MB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003052/0.3269, allocations: 1.483 MB / 432.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3289, allocations: 0.8343 MB / 433.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.329, allocations: 4 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.68e-05/0.3291, allocations: 15.86 kB / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.923e-05/0.3291, allocations: 23.84 kB / 433.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.3294, allocations: 47.89 kB / 433.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.3296, allocations: 127.7 kB / 433.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3297, allocations: 16.22 kB / 433.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007288/0.3305, allocations: 0.581 MB / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3306, allocations: 71.62 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.3307, allocations: 12 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.971e-05/0.3307, allocations: 12 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3308, allocations: 63.77 kB / 434.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.331, allocations: 83.3 kB / 434.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.3315, allocations: 380.1 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.3316, allocations: 4 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3316, allocations: 0 / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3316, allocations: 0 / 434.9 MB, free: 2.719 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.001025/0.3326, allocations: 0.6552 MB / 435.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3326, allocations: 11.98 kB / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.954e-05/0.3327, allocations: 38.75 kB / 435.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.3328, allocations: 40.7 kB / 435.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.3331, allocations: 228.8 kB / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3332, allocations: 4.375 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.3332, allocations: 8.375 kB / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.3336, allocations: 244.5 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3336, allocations: 0 / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.3337, allocations: 8 kB / 436.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3337, allocations: 0 / 436.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.3339, allocations: 178.8 kB / 436.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.3347, allocations: 419.5 kB / 436.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.3349, allocations: 189.4 kB / 436.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.3352, allocations: 187.7 kB / 437.1 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3352, allocations: 0 / 437.1 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.3357, allocations: 336.5 kB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3357, allocations: 112 / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009861/0.3367, allocations: 0.7009 MB / 438.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.3368, allocations: 170.2 kB / 438.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.3375, allocations: 0.5091 MB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.3375, allocations: 33.69 kB / 438.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.3376, allocations: 101.1 kB / 438.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.3376, allocations: 35.77 kB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3377, allocations: 81.56 kB / 439 MB, free: 14.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3379, allocations: 326.8 kB / 439.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.3381, allocations: 178.8 kB / 439.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.3384, allocations: 192.5 kB / 439.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.3387, allocations: 347.3 kB / 440 MB, free: 13.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3387, allocations: 4 kB / 440 MB, free: 13 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006492/0.3394, allocations: 0.5064 MB / 440.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.3395, allocations: 126.8 kB / 440.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3395, allocations: 4.031 kB / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3395, allocations: 7.938 kB / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.143e-05/0.3395, allocations: 0 / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3395, allocations: 0 / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.3397, allocations: 11.98 kB / 440.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.3397, allocations: 55.94 kB / 440.7 MB, free: 12.22 MB / 350.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.0004223/0.3402, allocations: 371.2 kB / 441.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.3402, allocations: 43.77 kB / 441.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.3403, allocations: 67.06 kB / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3404, allocations: 0 / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3404, allocations: 4 kB / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3404, allocations: 0 / 441.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3415, allocations: 0.8857 MB / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3415, allocations: 0 / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-06/0.3415, allocations: 3.938 kB / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3415, allocations: 0 / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.3415, allocations: 12 kB / 442.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3415, allocations: 7.922 kB / 442.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3415, allocations: 3.938 kB / 442.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.3423, allocations: 0.6531 MB / 442.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.3427, allocations: 221.3 kB / 443 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.3428, allocations: 12 kB / 443 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3429, allocations: 8 kB / 443 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.343, allocations: 31.91 kB / 443 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.3431, allocations: 55.98 kB / 443.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004696/0.3436, allocations: 386.9 kB / 443.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3436, allocations: 0 / 443.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.3439, allocations: 40 kB / 443.5 MB, free: 9.242 MB / 350.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.001137/0.345, allocations: 1.216 MB / 444.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000679/0.3457, allocations: 0.6046 MB / 445.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3457, allocations: 0 / 445.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.346, allocations: 432.6 kB / 445.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.3467, allocations: 129.5 kB / 445.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.3507, allocations: 3.355 MB / 449.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.351, allocations: 181.7 kB / 449.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.351, allocations: 12.72 kB / 449.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.3511, allocations: 31.42 kB / 449.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3511, allocations: 3.938 kB / 449.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.3845, allocations: 6.966 MB / 456.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.46, allocations: 3.281 kB / 456.4 MB, free: 11.87 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.988241276238114]