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.001362/0.001362, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001402/0.001402, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.511/1.511, allocations: 230.4 MB / 254 MB, free: 15.03 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.001927/0.001927, allocations: 63.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1182, allocations: 53.38 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002821/0.121, allocations: 1.529 MB / 427.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.123, allocations: 0.881 MB / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.123, allocations: 0 / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.984e-05/0.1231, allocations: 15.86 kB / 428.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.1232, allocations: 11.88 kB / 428.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1234, allocations: 47.88 kB / 428.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.1237, allocations: 135.7 kB / 429 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.1238, allocations: 16.2 kB / 429 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/0.1244, allocations: 0.5771 MB / 429.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1246, allocations: 79.67 kB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.1246, allocations: 8 kB / 429.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.309e-05/0.1246, allocations: 12 kB / 429.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.1247, allocations: 59.77 kB / 429.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.1249, allocations: 115.1 kB / 429.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.1253, allocations: 378.4 kB / 430.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1253, allocations: 0 / 430.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1253, allocations: 4 kB / 430.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1253, allocations: 0 / 430.2 MB, free: 0.7734 MB / 350.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.2226/0.3479, allocations: 0.7251 MB / 430.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3479, allocations: 8.094 kB / 430.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.348, allocations: 39.33 kB / 431 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.657e-05/0.3481, allocations: 42.28 kB / 431 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.3484, allocations: 274.5 kB / 431.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.3484, allocations: 8.422 kB / 431.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3484, allocations: 7.125 kB / 431.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.3488, allocations: 134.6 kB / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3488, allocations: 0.6094 kB / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.3488, allocations: 8.125 kB / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3488, allocations: 2.641 kB / 431.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.349, allocations: 60.55 kB / 431.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008488/0.3498, allocations: 463.7 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.3501, allocations: 80.17 kB / 432 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.3502, allocations: 63.97 kB / 432.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3502, allocations: 3.812 kB / 432.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.3506, allocations: 199.1 kB / 432.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3506, allocations: 0.5938 kB / 432.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008883/0.3515, allocations: 493.7 kB / 432.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.3516, allocations: 164.5 kB / 432.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/0.3522, allocations: 0.5143 MB / 433.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.3522, allocations: 33.67 kB / 433.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.3523, allocations: 97.3 kB / 433.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.3523, allocations: 34.86 kB / 433.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.3525, allocations: 87.06 kB / 433.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.3526, allocations: 328.3 kB / 434 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3527, allocations: 61.8 kB / 434.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3529, allocations: 70.12 kB / 434.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.3532, allocations: 345.8 kB / 434.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3532, allocations: 0 / 434.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006033/0.3538, allocations: 395.1 kB / 434.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.492e-05/0.3539, allocations: 125.5 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3539, allocations: 1 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3539, allocations: 1.094 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.716e-05/0.3539, allocations: 1.125 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3539, allocations: 1.125 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.3541, allocations: 11.02 kB / 435 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.98e-05/0.3542, allocations: 55.8 kB / 435.1 MB, free: 8.816 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.0003583/0.3545, allocations: 374.6 kB / 435.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.3546, allocations: 40.72 kB / 435.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.3547, allocations: 67.52 kB / 435.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3547, allocations: 1.125 kB / 435.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3547, allocations: 1.75 kB / 435.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3547, allocations: 0 / 435.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009971/0.3557, allocations: 0.8207 MB / 436.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3557, allocations: 4.906 kB / 436.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.3557, allocations: 1.031 kB / 436.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3557, allocations: 0 / 436.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.3558, allocations: 14.44 kB / 436.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3558, allocations: 0 / 436.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3558, allocations: 3.938 kB / 436.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.3564, allocations: 0.5352 MB / 436.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.3567, allocations: 257.7 kB / 437.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.3568, allocations: 12.09 kB / 437.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3569, allocations: 10.25 kB / 437.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.357, allocations: 36.14 kB / 437.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.3571, allocations: 60.48 kB / 437.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000452/0.3576, allocations: 384.2 kB / 437.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 437.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.3579, allocations: 49.33 kB / 437.7 MB, free: 7.289 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.0009955/0.3589, allocations: 1.089 MB / 438.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.3594, allocations: 374.5 kB / 439.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3594, allocations: 1.062 kB / 439.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.3596, allocations: 303.4 kB / 439.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/0.3603, allocations: 115.9 kB / 439.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.3637, allocations: 2.758 MB / 442.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3641, allocations: 0.8072 MB / 443.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.49e-05/0.3641, allocations: 11.61 kB / 443.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.3642, allocations: 26.86 kB / 443.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3642, allocations: 0 / 443.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.3962, allocations: 6.053 MB / 449.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.596, allocations: 7.5 kB / 449.2 MB, free: 2.258 MB / 350.1 MB " [Timeout remaining time 651] (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.0023933 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.csv","/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] "Error: Could not read variable nRXFERGATE.y in file Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv. Warning: Get data of variable nRXFERGATE.y from file Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.224369283067062]