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.0008468/0.0008468, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0009382/0.0009382, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9128/0.9128, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.452e-06/1.452e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.992e-05, allocations: 3.125 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001837/0.001857, allocations: 1.492 MB / 326 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003189, allocations: 0.8303 MB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.003239, allocations: 0 / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.381e-05/0.003323, allocations: 11.92 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.00339, allocations: 27.84 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.003624, allocations: 51.81 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.003789, allocations: 127.7 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.00388, allocations: 16.22 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.004306, allocations: 0.5965 MB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.004409, allocations: 71.73 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.004441, allocations: 12 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.004463, allocations: 8 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.004529, allocations: 63.78 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.004602, allocations: 55.73 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.004863, allocations: 378.8 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004865, allocations: 0 / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004866, allocations: 0 / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.004871, allocations: 0 / 328.2 MB, free: 12.15 MB / 298.7 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.0005255/0.005396, allocations: 0.6553 MB / 328.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.005435, allocations: 15.98 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.005468, allocations: 38.75 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.005512, allocations: 40.64 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.005703, allocations: 212.1 kB / 329.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.005721, allocations: 12.36 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.005739, allocations: 12.38 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.005994, allocations: 241 kB / 329.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.006002, allocations: 8.125 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.006017, allocations: 4.125 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.006023, allocations: 4 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.006147, allocations: 182.7 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.006874, allocations: 407.7 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.007042, allocations: 197.3 kB / 330.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.007162, allocations: 187.6 kB / 330.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.007171, allocations: 4 kB / 330.4 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.007468, allocations: 329.5 kB / 330.7 MB, free: 9.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.007469, allocations: 0 / 330.7 MB, free: 9.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005787/0.008048, allocations: 0.7116 MB / 331.5 MB, free: 8.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.008109, allocations: 166.2 kB / 331.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.008505, allocations: 0.513 MB / 332.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.008523, allocations: 29.7 kB / 332.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.008573, allocations: 105.1 kB / 332.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.008601, allocations: 31.78 kB / 332.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.008671, allocations: 77.56 kB / 332.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.008748, allocations: 322.8 kB / 332.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.008862, allocations: 182.8 kB / 332.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.008979, allocations: 196.5 kB / 333.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.00919, allocations: 363.2 kB / 333.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009192, allocations: 0 / 333.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00037/0.009562, allocations: 0.503 MB / 333.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.009624, allocations: 130.8 kB / 334 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009629, allocations: 0 / 334 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.009641, allocations: 0 / 334 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.756e-05/0.009658, allocations: 0 / 334 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.009663, allocations: 4.031 kB / 334 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.00975, allocations: 15.98 kB / 334.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.009794, allocations: 55.94 kB / 334.1 MB, free: 5.633 MB / 298.7 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.000229/0.01002, allocations: 362.5 kB / 334.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.01006, allocations: 39.77 kB / 334.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/0.01013, allocations: 67.19 kB / 334.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01014, allocations: 7.938 kB / 334.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.01014, allocations: 0 / 334.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01015, allocations: 0 / 334.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.01086, allocations: 0.8934 MB / 335.5 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01086, allocations: 4 kB / 335.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-06/0.01087, allocations: 7.984 kB / 335.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01088, allocations: 0 / 335.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.0109, allocations: 12 kB / 335.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.0109, allocations: 0 / 335.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.0109, allocations: 11.91 kB / 335.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.01136, allocations: 0.6678 MB / 336.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.0116, allocations: 205.3 kB / 336.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.01163, allocations: 12.06 kB / 336.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.01171, allocations: 12 kB / 336.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.01181, allocations: 31.91 kB / 336.4 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.01185, allocations: 59.98 kB / 336.5 MB, free: 3.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000562/0.01242, allocations: 386.9 kB / 336.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01242, allocations: 0 / 336.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.0126, allocations: 43.94 kB / 336.9 MB, free: 2.637 MB / 298.7 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.000638/0.01324, allocations: 1.205 MB / 338.1 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.01363, allocations: 0.6124 MB / 338.7 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01363, allocations: 0 / 338.7 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.01382, allocations: 428.4 kB / 339.1 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.01419, allocations: 129.3 kB / 339.3 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.01655, allocations: 3.373 MB / 342.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.01671, allocations: 193.7 kB / 342.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.025e-05/0.01675, allocations: 8.719 kB / 342.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.01679, allocations: 24.5 kB / 342.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01679, allocations: 0 / 342.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.03718, allocations: 7.08 MB / 349.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/6.959, allocations: 11.03 kB / 350 MB, free: 5.125 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/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: 8.776055275462568]