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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 185 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.89 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2629, allocations: 52.17 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002738/0.2656, allocations: 1.478 MB / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2675, allocations: 0.8031 MB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.2675, allocations: 0 / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.315e-05/0.2676, allocations: 15.86 kB / 424.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.997e-05/0.2677, allocations: 23.8 kB / 424.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.2679, allocations: 51.89 kB / 424.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.2682, allocations: 127.7 kB / 425.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.782e-05/0.2683, allocations: 20.2 kB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006486/0.2689, allocations: 0.5809 MB / 425.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.269, allocations: 71.75 kB / 425.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.2691, allocations: 12 kB / 425.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.81e-05/0.2691, allocations: 8 kB / 425.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.2692, allocations: 71.64 kB / 425.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2693, allocations: 79.41 kB / 425.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.2697, allocations: 380.1 kB / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2697, allocations: 0 / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2697, allocations: 0 / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2697, allocations: 0 / 426.3 MB, free: 10.67 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.0007997/0.2705, allocations: 0.6591 MB / 426.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2706, allocations: 8.031 kB / 426.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.2706, allocations: 38.75 kB / 427 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.2707, allocations: 40.7 kB / 427 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.271, allocations: 216.9 kB / 427.2 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.271, allocations: 4.375 kB / 427.2 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.2711, allocations: 8.375 kB / 427.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.2714, allocations: 260.5 kB / 427.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2714, allocations: 0 / 427.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2715, allocations: 4 kB / 427.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2715, allocations: 0 / 427.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.2717, allocations: 174.8 kB / 427.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.2724, allocations: 419.5 kB / 428.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.2727, allocations: 193.3 kB / 428.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.2729, allocations: 179.7 kB / 428.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2729, allocations: 4 kB / 428.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.2733, allocations: 325.5 kB / 428.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2733, allocations: 0 / 428.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001009/0.2743, allocations: 0.7084 MB / 429.5 MB, free: 7.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.2745, allocations: 170.2 kB / 429.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/0.2751, allocations: 0.5129 MB / 430.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.2751, allocations: 29.7 kB / 430.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.2752, allocations: 101.1 kB / 430.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.2753, allocations: 31.8 kB / 430.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.2754, allocations: 85.5 kB / 430.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2756, allocations: 326.8 kB / 430.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.2758, allocations: 182.8 kB / 430.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.276, allocations: 196.4 kB / 431.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.2764, allocations: 347.3 kB / 431.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2764, allocations: 64 / 431.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006759/0.2771, allocations: 0.5069 MB / 431.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.2773, allocations: 129 kB / 432.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2773, allocations: 0 / 432.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.2773, allocations: 0 / 432.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.813e-05/0.2773, allocations: 4 kB / 432.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2773, allocations: 0 / 432.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2775, allocations: 20.02 kB / 432.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-05/0.2775, allocations: 55.94 kB / 432.1 MB, free: 4.172 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.0003928/0.2779, allocations: 366.5 kB / 432.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.278, allocations: 43.7 kB / 432.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.2781, allocations: 71.19 kB / 432.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2781, allocations: 3.938 kB / 432.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.2781, allocations: 0 / 432.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2781, allocations: 0 / 432.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.2792, allocations: 0.8934 MB / 433.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2792, allocations: 4 kB / 433.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-06/0.2792, allocations: 0 / 433.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2792, allocations: 0 / 433.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.2792, allocations: 12 kB / 433.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2792, allocations: 0 / 433.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.2792, allocations: 3.938 kB / 433.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.28, allocations: 0.6605 MB / 434.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.2804, allocations: 201.3 kB / 434.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.2805, allocations: 15.98 kB / 434.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2806, allocations: 8 kB / 434.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.2807, allocations: 32.09 kB / 434.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.2808, allocations: 63.94 kB / 434.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005069/0.2813, allocations: 390.9 kB / 434.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2813, allocations: 0 / 434.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.2816, allocations: 44 kB / 434.9 MB, free: 1.191 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.001222/0.2828, allocations: 1.216 MB / 436.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006375/0.2834, allocations: 0.6007 MB / 436.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2834, allocations: 0 / 436.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.2838, allocations: 432.3 kB / 437.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.2844, allocations: 121.6 kB / 437.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.2883, allocations: 3.356 MB / 440.6 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2885, allocations: 201.6 kB / 440.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.655e-05/0.2886, allocations: 4.672 kB / 440.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.2886, allocations: 27.42 kB / 440.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2886, allocations: 0 / 440.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.3222, allocations: 6.97 MB / 447.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.37, allocations: 7.938 kB / 447.8 MB, free: 3.848 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv. Warning: Get data of variable nRXFERGATE.y from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.916938098147511]