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.001313/0.001313, allocations: 112.1 kB / 21.19 MB, free: 0.7031 MB / 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.001435/0.001435, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.368/1.368, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.001736/0.001736, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.248, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002605/0.2506, allocations: 1.513 MB / 397.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2523, allocations: 0.9039 MB / 398.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.2523, allocations: 0 / 398.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.51e-05/0.2524, allocations: 14.58 kB / 398.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.2525, allocations: 22.36 kB / 398.8 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.2527, allocations: 51.95 kB / 398.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.2529, allocations: 136.4 kB / 399 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.253, allocations: 12.62 kB / 399 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/0.2537, allocations: 0.5762 MB / 399.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2538, allocations: 77.47 kB / 399.6 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.2538, allocations: 9.812 kB / 399.7 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-05/0.2539, allocations: 9.688 kB / 399.7 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.2539, allocations: 67.17 kB / 399.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.254, allocations: 114.4 kB / 399.8 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.2545, allocations: 376.8 kB / 400.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2545, allocations: 5.125 kB / 400.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2545, allocations: 0 / 400.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2545, allocations: 0.6094 kB / 400.2 MB, free: 6.902 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.0005995/0.2551, allocations: 0.6513 MB / 400.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2551, allocations: 13.23 kB / 400.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.2551, allocations: 41.22 kB / 400.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.2552, allocations: 43.42 kB / 401 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.2554, allocations: 214.3 kB / 401.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2554, allocations: 5.031 kB / 401.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.2555, allocations: 16.06 kB / 401.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.2558, allocations: 131 kB / 401.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2558, allocations: 1.062 kB / 401.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.2558, allocations: 4.312 kB / 401.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2558, allocations: 0 / 401.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.2559, allocations: 62.39 kB / 401.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.2565, allocations: 433.4 kB / 401.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.2567, allocations: 83.86 kB / 401.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.2568, allocations: 61.25 kB / 402 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.2568, allocations: 1.031 kB / 402 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000309/0.2571, allocations: 206.2 kB / 402.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2571, allocations: 0 / 402.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007146/0.2578, allocations: 474 kB / 402.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.2579, allocations: 179.3 kB / 402.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.2585, allocations: 0.5089 MB / 403.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.2585, allocations: 29.2 kB / 403.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.2586, allocations: 104.4 kB / 403.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.2586, allocations: 27.67 kB / 403.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/0.2587, allocations: 85.69 kB / 403.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.2587, allocations: 327.8 kB / 403.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.2588, allocations: 57.17 kB / 403.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.259, allocations: 73.34 kB / 404 MB, free: 4.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.2592, allocations: 346.7 kB / 404.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2592, allocations: 0.75 kB / 404.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004528/0.2596, allocations: 389 kB / 404.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/0.2597, allocations: 122.7 kB / 404.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2597, allocations: 1.875 kB / 404.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2597, allocations: 0 / 404.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.007e-05/0.2597, allocations: 2.484 kB / 404.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2597, allocations: 4.875 kB / 404.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.2599, allocations: 19.64 kB / 404.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.2599, allocations: 55.28 kB / 404.9 MB, free: 3.449 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.0002685/0.2602, allocations: 361.2 kB / 405.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.2603, allocations: 42.75 kB / 405.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.2604, allocations: 68.94 kB / 405.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2604, allocations: 1.375 kB / 405.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2604, allocations: 0.6094 kB / 405.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2604, allocations: 5.406 kB / 405.4 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008333/0.2612, allocations: 0.7952 MB / 406.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2612, allocations: 0 / 406.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-06/0.2612, allocations: 1.781 kB / 406.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2612, allocations: 1.156 kB / 406.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.2612, allocations: 16.38 kB / 406.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2612, allocations: 5.766 kB / 406.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2612, allocations: 3.938 kB / 406.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.2618, allocations: 0.5364 MB / 406.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.2621, allocations: 207.2 kB / 406.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.2622, allocations: 11.62 kB / 407 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.2623, allocations: 14.19 kB / 407 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.2624, allocations: 29.75 kB / 407 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.2625, allocations: 58.47 kB / 407.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004135/0.2629, allocations: 387.4 kB / 407.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2629, allocations: 0 / 407.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.2632, allocations: 49.2 kB / 407.5 MB, free: 1.812 MB / 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.0007271/0.2639, allocations: 1.078 MB / 408.6 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.2643, allocations: 375.9 kB / 408.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2643, allocations: 4 kB / 408.9 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.2645, allocations: 297.5 kB / 409.2 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.2651, allocations: 128.7 kB / 409.3 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.2684, allocations: 2.75 MB / 412.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.2689, allocations: 0.7992 MB / 412.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.007e-05/0.269, allocations: 9.719 kB / 412.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.269, allocations: 25.64 kB / 412.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.269, allocations: 5.219 kB / 412.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.3018, allocations: 6.241 MB / 419.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.38, allocations: 1.125 kB / 419.2 MB, free: 10.48 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.840307049998955]