Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 58.58 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2504, allocations: 49.15 MB / 396.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002511/0.2529, allocations: 1.456 MB / 397.8 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2545, allocations: 0.8589 MB / 398.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.2546, allocations: 1.219 kB / 398.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.892e-05/0.2547, allocations: 12.56 kB / 398.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.2548, allocations: 19.25 kB / 398.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.255, allocations: 52.22 kB / 398.7 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.2552, allocations: 129.1 kB / 398.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.2553, allocations: 24.33 kB / 398.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006259/0.2559, allocations: 0.5773 MB / 399.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.256, allocations: 76.83 kB / 399.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.2561, allocations: 9.781 kB / 399.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.538e-05/0.2561, allocations: 9.938 kB / 399.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.2562, allocations: 62.8 kB / 399.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.2563, allocations: 83.16 kB / 399.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.2567, allocations: 378.6 kB / 400.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2567, allocations: 0 / 400.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2567, allocations: 0.9375 kB / 400.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2567, allocations: 0 / 400.1 MB, free: 7.133 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.0005846/0.2573, allocations: 0.6561 MB / 400.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2573, allocations: 13.42 kB / 400.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.2573, allocations: 40.97 kB / 400.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.2574, allocations: 38.73 kB / 400.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.2576, allocations: 226.6 kB / 401 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2576, allocations: 4.531 kB / 401.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.2577, allocations: 8.75 kB / 401.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.258, allocations: 246.1 kB / 401.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.258, allocations: 0.8906 kB / 401.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.258, allocations: 7.094 kB / 401.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.258, allocations: 5.125 kB / 401.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.2582, allocations: 177.5 kB / 401.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.2588, allocations: 419 kB / 401.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.2589, allocations: 193.8 kB / 402.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.2591, allocations: 179.1 kB / 402.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.2591, allocations: 1.438 kB / 402.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003378/0.2594, allocations: 330 kB / 402.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2594, allocations: 0 / 402.6 MB, free: 5.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007562/0.2602, allocations: 0.7001 MB / 403.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2602, allocations: 172 kB / 403.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.2608, allocations: 0.5148 MB / 404 MB, free: 4.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.2608, allocations: 33.14 kB / 404 MB, free: 3.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.2608, allocations: 98.83 kB / 404.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.2609, allocations: 26.91 kB / 404.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.261, allocations: 84.77 kB / 404.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.261, allocations: 333.7 kB / 404.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.2612, allocations: 176.4 kB / 404.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.2613, allocations: 197.4 kB / 404.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.2616, allocations: 353.1 kB / 405.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2616, allocations: 4 kB / 405.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004964/0.2621, allocations: 0.5037 MB / 405.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.2621, allocations: 124.4 kB / 405.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2621, allocations: 1.953 kB / 405.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2621, allocations: 3.938 kB / 405.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.2622, allocations: 2.047 kB / 405.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2622, allocations: 1.344 kB / 405.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2623, allocations: 13.45 kB / 405.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.2624, allocations: 57.78 kB / 405.9 MB, free: 2.34 MB / 318.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.0002666/0.2626, allocations: 373.2 kB / 406.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.2627, allocations: 43.3 kB / 406.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.436e-05/0.2628, allocations: 65.09 kB / 406.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2628, allocations: 1.5 kB / 406.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2628, allocations: 0 / 406.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2628, allocations: 0.8438 kB / 406.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008265/0.2636, allocations: 0.8874 MB / 407.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2636, allocations: 1.438 kB / 407.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.2636, allocations: 0 / 407.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2636, allocations: 2.078 kB / 407.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.2636, allocations: 15.83 kB / 407.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2637, allocations: 5.844 kB / 407.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2637, allocations: 3.938 kB / 407.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.2642, allocations: 0.6574 MB / 408 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.2646, allocations: 207.6 kB / 408.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.2646, allocations: 11.38 kB / 408.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2648, allocations: 9.141 kB / 408.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.733e-05/0.2649, allocations: 34.34 kB / 408.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.2649, allocations: 58.88 kB / 408.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004086/0.2653, allocations: 386.7 kB / 408.7 MB, free: 452 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2653, allocations: 0 / 408.7 MB, free: 452 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.2656, allocations: 53.2 kB / 408.7 MB, free: 440 kB / 318.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.001008/0.2666, allocations: 1.204 MB / 409.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006905/0.2673, allocations: 0.6074 MB / 410.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2673, allocations: 0 / 410.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.2677, allocations: 433.6 kB / 411 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.2683, allocations: 123.4 kB / 411.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.2725, allocations: 3.366 MB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.2727, allocations: 192.7 kB / 414.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.649e-05/0.2728, allocations: 8.297 kB / 414.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.2729, allocations: 27.47 kB / 414.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2729, allocations: 0 / 414.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.309, allocations: 6.973 MB / 421.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.36, allocations: 9.344 kB / 421.7 MB, free: 7.754 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.csv. Warning: Get data of variable nRXFERGATE.y from file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.715169136878103]